G.range[0]));)ee.extendedRange[1]===G.range[0]?(G.leadingComments||(G.leadingComments=[]),G.leadingComments.push(ee),b.splice(z,1)):z+=1;if(z===b.length)return i.Break;if(b[z].extendedRange[0]>G.range[1])return i.Skip}}),z=0,k(x,{leave:function(G){for(var ee;zG.range[1])return i.Skip}}),x}return n.Syntax=r,n.traverse=k,n.replace=v,n.attachComments=_,n.VisitorKeys=o,n.VisitorOption=i,n.Controller=E,n.cloneEnvironment=function(){return t({})},n})(e)}}),Nu=he({"../../node_modules/esutils/lib/ast.js"(e,t){(function(){function n(p){if(p==null)return!1;switch(p.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1}function r(p){if(p==null)return!1;switch(p.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function i(p){if(p==null)return!1;switch(p.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function o(p){return i(p)||p!=null&&p.type==="FunctionDeclaration"}function s(p){switch(p.type){case"IfStatement":return p.alternate!=null?p.alternate:p.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return p.body}return null}function l(p){var d;if(p.type!=="IfStatement"||p.alternate==null)return!1;d=p.consequent;do{if(d.type==="IfStatement"&&d.alternate==null)return!0;d=s(d)}while(d);return!1}t.exports={isExpression:n,isStatement:i,isIterationStatement:r,isSourceElement:o,isProblematicIfStatement:l,trailingStatement:s}})()}}),br=he({"../../node_modules/esutils/lib/code.js"(e,t){(function(){var n,r,i,o,s,l;r={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},n={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};function p(v){return 48<=v&&v<=57}function d(v){return 48<=v&&v<=57||97<=v&&v<=102||65<=v&&v<=70}function D(v){return v>=48&&v<=55}i=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function y(v){return v===32||v===9||v===11||v===12||v===160||v>=5760&&i.indexOf(v)>=0}function C(v){return v===10||v===13||v===8232||v===8233}function E(v){if(v<=65535)return String.fromCharCode(v);var R=String.fromCharCode(Math.floor((v-65536)/1024)+55296),_=String.fromCharCode((v-65536)%1024+56320);return R+_}for(o=new Array(128),l=0;l<128;++l)o[l]=l>=97&&l<=122||l>=65&&l<=90||l===36||l===95;for(s=new Array(128),l=0;l<128;++l)s[l]=l>=97&&l<=122||l>=65&&l<=90||l>=48&&l<=57||l===36||l===95;function m(v){return v<128?o[v]:r.NonAsciiIdentifierStart.test(E(v))}function g(v){return v<128?s[v]:r.NonAsciiIdentifierPart.test(E(v))}function T(v){return v<128?o[v]:n.NonAsciiIdentifierStart.test(E(v))}function k(v){return v<128?s[v]:n.NonAsciiIdentifierPart.test(E(v))}t.exports={isDecimalDigit:p,isHexDigit:d,isOctalDigit:D,isWhiteSpace:y,isLineTerminator:C,isIdentifierStartES5:m,isIdentifierPartES5:g,isIdentifierStartES6:T,isIdentifierPartES6:k}})()}}),ju=he({"../../node_modules/esutils/lib/keyword.js"(e,t){(function(){var n=br();function r(m){switch(m){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function i(m,g){return!g&&m==="yield"?!1:o(m,g)}function o(m,g){if(g&&r(m))return!0;switch(m.length){case 2:return m==="if"||m==="in"||m==="do";case 3:return m==="var"||m==="for"||m==="new"||m==="try";case 4:return m==="this"||m==="else"||m==="case"||m==="void"||m==="with"||m==="enum";case 5:return m==="while"||m==="break"||m==="catch"||m==="throw"||m==="const"||m==="yield"||m==="class"||m==="super";case 6:return m==="return"||m==="typeof"||m==="delete"||m==="switch"||m==="export"||m==="import";case 7:return m==="default"||m==="finally"||m==="extends";case 8:return m==="function"||m==="continue"||m==="debugger";case 10:return m==="instanceof";default:return!1}}function s(m,g){return m==="null"||m==="true"||m==="false"||i(m,g)}function l(m,g){return m==="null"||m==="true"||m==="false"||o(m,g)}function p(m){return m==="eval"||m==="arguments"}function d(m){var g,T,k;if(m.length===0||(k=m.charCodeAt(0),!n.isIdentifierStartES5(k)))return!1;for(g=1,T=m.length;g =T||(v=m.charCodeAt(g),!(56320<=v&&v<=57343)))return!1;k=D(k,v)}if(!R(k))return!1;R=n.isIdentifierPartES6}return!0}function C(m,g){return d(m)&&!s(m,g)}function E(m,g){return y(m)&&!l(m,g)}t.exports={isKeywordES5:i,isKeywordES6:o,isReservedWordES5:s,isReservedWordES6:l,isRestrictedWord:p,isIdentifierNameES5:d,isIdentifierNameES6:y,isIdentifierES5:C,isIdentifierES6:E}})()}}),Mu=he({"../../node_modules/esutils/lib/utils.js"(e){(function(){e.ast=Nu(),e.code=br(),e.keyword=ju()})()}}),Vu=he({"../../node_modules/escodegen/node_modules/source-map/lib/base64.js"(e){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");e.encode=function(n){if(0<=n&&n >1;return d?-D:D}e.encode=function(p){var d="",D,y=s(p);do D=y&i,y>>>=n,y>0&&(D|=o),d+=t.encode(D);while(y>0);return d},e.decode=function(p,d,D){var y=p.length,C=0,E=0,m,g;do{if(d>=y)throw new Error("Expected more digits in base 64 VLQ value.");if(g=t.decode(p.charCodeAt(d++)),g===-1)throw new Error("Invalid base64 digit: "+p.charAt(d-1));m=!!(g&o),g&=i,C=C+(g< =0;U--)I=b[U],I==="."?b.splice(U,1):I===".."?q++:q>0&&(I===""?(b.splice(U+1,q),q=0):(b.splice(U,2),q--));return x=b.join("/"),x===""&&(x=B?"/":"."),F?(F.path=x,o(F)):x}e.normalize=s;function l(_,x){_===""&&(_="."),x===""&&(x=".");var F=i(x),B=i(_);if(B&&(_=B.path||"/"),F&&!F.scheme)return B&&(F.scheme=B.scheme),o(F);if(F||x.match(r))return x;if(B&&!B.host&&!B.path)return B.host=x,o(B);var b=x.charAt(0)==="/"?x:s(_.replace(/\/+$/,"")+"/"+x);return B?(B.path=b,o(B)):b}e.join=l,e.isAbsolute=function(_){return _.charAt(0)==="/"||n.test(_)};function p(_,x){_===""&&(_="."),_=_.replace(/\/$/,"");for(var F=0;x.indexOf(_+"/")!==0;){var B=_.lastIndexOf("/");if(B<0||(_=_.slice(0,B),_.match(/^([^\/]+:\/)?\/*$/)))return x;++F}return Array(F+1).join("../")+x.substr(_.length+1)}e.relative=p;var d=function(){var _=Object.create(null);return!("__proto__"in _)}();function D(_){return _}function y(_){return E(_)?"$"+_:_}e.toSetString=d?D:y;function C(_){return E(_)?_.slice(1):_}e.fromSetString=d?D:C;function E(_){if(!_)return!1;var x=_.length;if(x<9||_.charCodeAt(x-1)!==95||_.charCodeAt(x-2)!==95||_.charCodeAt(x-3)!==111||_.charCodeAt(x-4)!==116||_.charCodeAt(x-5)!==111||_.charCodeAt(x-6)!==114||_.charCodeAt(x-7)!==112||_.charCodeAt(x-8)!==95||_.charCodeAt(x-9)!==95)return!1;for(var F=x-10;F>=0;F--)if(_.charCodeAt(F)!==36)return!1;return!0}function m(_,x,F){var B=T(_.source,x.source);return B!==0||(B=_.originalLine-x.originalLine,B!==0)||(B=_.originalColumn-x.originalColumn,B!==0||F)||(B=_.generatedColumn-x.generatedColumn,B!==0)||(B=_.generatedLine-x.generatedLine,B!==0)?B:T(_.name,x.name)}e.compareByOriginalPositions=m;function g(_,x,F){var B=_.generatedLine-x.generatedLine;return B!==0||(B=_.generatedColumn-x.generatedColumn,B!==0||F)||(B=T(_.source,x.source),B!==0)||(B=_.originalLine-x.originalLine,B!==0)||(B=_.originalColumn-x.originalColumn,B!==0)?B:T(_.name,x.name)}e.compareByGeneratedPositionsDeflated=g;function T(_,x){return _===x?0:_===null?1:x===null?-1:_>x?1:-1}function k(_,x){var F=_.generatedLine-x.generatedLine;return F!==0||(F=_.generatedColumn-x.generatedColumn,F!==0)||(F=T(_.source,x.source),F!==0)||(F=_.originalLine-x.originalLine,F!==0)||(F=_.originalColumn-x.originalColumn,F!==0)?F:T(_.name,x.name)}e.compareByGeneratedPositionsInflated=k;function v(_){return JSON.parse(_.replace(/^\)]}'[^\n]*\n/,""))}e.parseSourceMapInput=v;function R(_,x,F){if(x=x||"",_&&(_[_.length-1]!=="/"&&x[0]!=="/"&&(_+="/"),x=_+x),F){var B=i(F);if(!B)throw new Error("sourceMapURL could not be parsed");if(B.path){var b=B.path.lastIndexOf("/");b>=0&&(B.path=B.path.substring(0,b+1))}x=l(o(B),x)}return s(x)}e.computeSourceURL=R}}),Tr=he({"../../node_modules/escodegen/node_modules/source-map/lib/array-set.js"(e){var t=St(),n=Object.prototype.hasOwnProperty,r=typeof Map<"u";function i(){this._array=[],this._set=r?new Map:Object.create(null)}i.fromArray=function(o,s){for(var l=new i,p=0,d=o.length;p =0)return s}else{var l=t.toSetString(o);if(n.call(this._set,l))return this._set[l]}throw new Error('"'+o+'" is not in the set.')},i.prototype.at=function(o){if(o>=0&&o s||l==s&&d>=p||t.compareByGeneratedPositionsInflated(i,o)<=0}function r(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}r.prototype.unsortedForEach=function(i,o){this._array.forEach(i,o)},r.prototype.add=function(i){n(this._last,i)?(this._last=i,this._array.push(i)):(this._sorted=!1,this._array.push(i))},r.prototype.toArray=function(){return this._sorted||(this._array.sort(t.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},e.MappingList=r}}),kr=he({"../../node_modules/escodegen/node_modules/source-map/lib/source-map-generator.js"(e){var t=wr(),n=St(),r=Tr().ArraySet,i=qu().MappingList;function o(s){s||(s={}),this._file=n.getArg(s,"file",null),this._sourceRoot=n.getArg(s,"sourceRoot",null),this._skipValidation=n.getArg(s,"skipValidation",!1),this._sources=new r,this._names=new r,this._mappings=new i,this._sourcesContents=null}o.prototype._version=3,o.fromSourceMap=function(s){var l=s.sourceRoot,p=new o({file:s.file,sourceRoot:l});return s.eachMapping(function(d){var D={generated:{line:d.generatedLine,column:d.generatedColumn}};d.source!=null&&(D.source=d.source,l!=null&&(D.source=n.relative(l,D.source)),D.original={line:d.originalLine,column:d.originalColumn},d.name!=null&&(D.name=d.name)),p.addMapping(D)}),s.sources.forEach(function(d){var D=d;l!==null&&(D=n.relative(l,d)),p._sources.has(D)||p._sources.add(D);var y=s.sourceContentFor(d);y!=null&&p.setSourceContent(d,y)}),p},o.prototype.addMapping=function(s){var l=n.getArg(s,"generated"),p=n.getArg(s,"original",null),d=n.getArg(s,"source",null),D=n.getArg(s,"name",null);this._skipValidation||this._validateMapping(l,p,d,D),d!=null&&(d=String(d),this._sources.has(d)||this._sources.add(d)),D!=null&&(D=String(D),this._names.has(D)||this._names.add(D)),this._mappings.add({generatedLine:l.line,generatedColumn:l.column,originalLine:p!=null&&p.line,originalColumn:p!=null&&p.column,source:d,name:D})},o.prototype.setSourceContent=function(s,l){var p=s;this._sourceRoot!=null&&(p=n.relative(this._sourceRoot,p)),l!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[n.toSetString(p)]=l):this._sourcesContents&&(delete this._sourcesContents[n.toSetString(p)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},o.prototype.applySourceMap=function(s,l,p){var d=l;if(l==null){if(s.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);d=s.file}var D=this._sourceRoot;D!=null&&(d=n.relative(D,d));var y=new r,C=new r;this._mappings.unsortedForEach(function(E){if(E.source===d&&E.originalLine!=null){var m=s.originalPositionFor({line:E.originalLine,column:E.originalColumn});m.source!=null&&(E.source=m.source,p!=null&&(E.source=n.join(p,E.source)),D!=null&&(E.source=n.relative(D,E.source)),E.originalLine=m.line,E.originalColumn=m.column,m.name!=null&&(E.name=m.name))}var g=E.source;g!=null&&!y.has(g)&&y.add(g);var T=E.name;T!=null&&!C.has(T)&&C.add(T)},this),this._sources=y,this._names=C,s.sources.forEach(function(E){var m=s.sourceContentFor(E);m!=null&&(p!=null&&(E=n.join(p,E)),D!=null&&(E=n.relative(D,E)),this.setSourceContent(E,m))},this)},o.prototype._validateMapping=function(s,l,p,d){if(l&&typeof l.line!="number"&&typeof l.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(s&&"line"in s&&"column"in s&&s.line>0&&s.column>=0&&!l&&!p&&!d)){if(s&&"line"in s&&"column"in s&&l&&"line"in l&&"column"in l&&s.line>0&&s.column>=0&&l.line>0&&l.column>=0&&p)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:s,source:p,original:l,name:d}))}},o.prototype._serializeMappings=function(){for(var s=0,l=1,p=0,d=0,D=0,y=0,C="",E,m,g,T,k=this._mappings.toArray(),v=0,R=k.length;v 0){if(!n.compareByGeneratedPositionsInflated(m,k[v-1]))continue;E+=","}E+=t.encode(m.generatedColumn-s),s=m.generatedColumn,m.source!=null&&(T=this._sources.indexOf(m.source),E+=t.encode(T-y),y=T,E+=t.encode(m.originalLine-1-d),d=m.originalLine-1,E+=t.encode(m.originalColumn-p),p=m.originalColumn,m.name!=null&&(g=this._names.indexOf(m.name),E+=t.encode(g-D),D=g)),C+=E}return C},o.prototype._generateSourcesContent=function(s,l){return s.map(function(p){if(!this._sourcesContents)return null;l!=null&&(p=n.relative(l,p));var d=n.toSetString(p);return Object.prototype.hasOwnProperty.call(this._sourcesContents,d)?this._sourcesContents[d]:null},this)},o.prototype.toJSON=function(){var s={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(s.file=this._file),this._sourceRoot!=null&&(s.sourceRoot=this._sourceRoot),this._sourcesContents&&(s.sourcesContent=this._generateSourcesContent(s.sources,s.sourceRoot)),s},o.prototype.toString=function(){return JSON.stringify(this.toJSON())},e.SourceMapGenerator=o}}),Uu=he({"../../node_modules/escodegen/node_modules/source-map/lib/binary-search.js"(e){e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2;function t(n,r,i,o,s,l){var p=Math.floor((r-n)/2)+n,d=s(i,o[p],!0);return d===0?p:d>0?r-p>1?t(p,r,i,o,s,l):l==e.LEAST_UPPER_BOUND?r 1?t(n,p,i,o,s,l):l==e.LEAST_UPPER_BOUND?p:n<0?-1:n}e.search=function(n,r,i,o){if(r.length===0)return-1;var s=t(-1,r.length,n,r,i,o||e.GREATEST_LOWER_BOUND);if(s<0)return-1;for(;s-1>=0&&i(r[s],r[s-1],!0)===0;)--s;return s}}}),Wu=he({"../../node_modules/escodegen/node_modules/source-map/lib/quick-sort.js"(e){function t(i,o,s){var l=i[o];i[o]=i[s],i[s]=l}function n(i,o){return Math.round(i+Math.random()*(o-i))}function r(i,o,s,l){if(s =0){var g=this._originalMappings[m];if(D.column===void 0)for(var T=g.originalLine;g&&g.originalLine===T;)E.push({line:t.getArg(g,"generatedLine",null),column:t.getArg(g,"generatedColumn",null),lastColumn:t.getArg(g,"lastGeneratedColumn",null)}),g=this._originalMappings[++m];else for(var k=g.originalColumn;g&&g.originalLine===y&&g.originalColumn==k;)E.push({line:t.getArg(g,"generatedLine",null),column:t.getArg(g,"generatedColumn",null),lastColumn:t.getArg(g,"lastGeneratedColumn",null)}),g=this._originalMappings[++m]}return E},e.SourceMapConsumer=s;function l(D,y){var C=D;typeof D=="string"&&(C=t.parseSourceMapInput(D));var E=t.getArg(C,"version"),m=t.getArg(C,"sources"),g=t.getArg(C,"names",[]),T=t.getArg(C,"sourceRoot",null),k=t.getArg(C,"sourcesContent",null),v=t.getArg(C,"mappings"),R=t.getArg(C,"file",null);if(E!=this._version)throw new Error("Unsupported version: "+E);T&&(T=t.normalize(T)),m=m.map(String).map(t.normalize).map(function(_){return T&&t.isAbsolute(T)&&t.isAbsolute(_)?t.relative(T,_):_}),this._names=r.fromArray(g.map(String),!0),this._sources=r.fromArray(m,!0),this._absoluteSources=this._sources.toArray().map(function(_){return t.computeSourceURL(T,_,y)}),this.sourceRoot=T,this.sourcesContent=k,this._mappings=v,this._sourceMapURL=y,this.file=R}l.prototype=Object.create(s.prototype),l.prototype.consumer=s,l.prototype._findSourceIndex=function(D){var y=D;if(this.sourceRoot!=null&&(y=t.relative(this.sourceRoot,y)),this._sources.has(y))return this._sources.indexOf(y);var C;for(C=0;C 1&&(b.source=T+q[1],T+=q[1],b.originalLine=m+q[2],m=b.originalLine,b.originalLine+=1,b.originalColumn=g+q[3],g=b.originalColumn,q.length>4&&(b.name=k+q[4],k+=q[4])),B.push(b),typeof b.originalLine=="number"&&F.push(b)}o(B,t.compareByGeneratedPositionsDeflated),this.__generatedMappings=B,o(F,t.compareByOriginalPositions),this.__originalMappings=F},l.prototype._findMapping=function(D,y,C,E,m,g){if(D[C]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+D[C]);if(D[E]<0)throw new TypeError("Column must be greater than or equal to 0, got "+D[E]);return n.search(D,y,m,g)},l.prototype.computeColumnSpans=function(){for(var D=0;D =0){var E=this._generatedMappings[C];if(E.generatedLine===y.generatedLine){var m=t.getArg(E,"source",null);m!==null&&(m=this._sources.at(m),m=t.computeSourceURL(this.sourceRoot,m,this._sourceMapURL));var g=t.getArg(E,"name",null);return g!==null&&(g=this._names.at(g)),{source:m,line:t.getArg(E,"originalLine",null),column:t.getArg(E,"originalColumn",null),name:g}}}return{source:null,line:null,column:null,name:null}},l.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(D){return D==null}):!1},l.prototype.sourceContentFor=function(D,y){if(!this.sourcesContent)return null;var C=this._findSourceIndex(D);if(C>=0)return this.sourcesContent[C];var E=D;this.sourceRoot!=null&&(E=t.relative(this.sourceRoot,E));var m;if(this.sourceRoot!=null&&(m=t.urlParse(this.sourceRoot))){var g=E.replace(/^file:\/\//,"");if(m.scheme=="file"&&this._sources.has(g))return this.sourcesContent[this._sources.indexOf(g)];if((!m.path||m.path=="/")&&this._sources.has("/"+E))return this.sourcesContent[this._sources.indexOf("/"+E)]}if(y)return null;throw new Error('"'+E+'" is not in the SourceMap.')},l.prototype.generatedPositionFor=function(D){var y=t.getArg(D,"source");if(y=this._findSourceIndex(y),y<0)return{line:null,column:null,lastColumn:null};var C={source:y,originalLine:t.getArg(D,"line"),originalColumn:t.getArg(D,"column")},E=this._findMapping(C,this._originalMappings,"originalLine","originalColumn",t.compareByOriginalPositions,t.getArg(D,"bias",s.GREATEST_LOWER_BOUND));if(E>=0){var m=this._originalMappings[E];if(m.source===C.source)return{line:t.getArg(m,"generatedLine",null),column:t.getArg(m,"generatedColumn",null),lastColumn:t.getArg(m,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},e.BasicSourceMapConsumer=l;function d(D,y){var C=D;typeof D=="string"&&(C=t.parseSourceMapInput(D));var E=t.getArg(C,"version"),m=t.getArg(C,"sections");if(E!=this._version)throw new Error("Unsupported version: "+E);this._sources=new r,this._names=new r;var g={line:-1,column:0};this._sections=m.map(function(T){if(T.url)throw new Error("Support for url field in sections not implemented.");var k=t.getArg(T,"offset"),v=t.getArg(k,"line"),R=t.getArg(k,"column");if(v =0;p--)this.prepend(l[p]);else if(l[o]||typeof l=="string")this.children.unshift(l);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+l);return this},s.prototype.walk=function(l){for(var p,d=0,D=this.children.length;d 0){for(p=[],d=0;d =6.0"},maintainers:[{name:"Yusuke Suzuki",email:"utatane.tea@gmail.com",web:"http://github.com/Constellation"}],repository:{type:"git",url:"http://github.com/estools/escodegen.git"},dependencies:{estraverse:"^5.2.0",esutils:"^2.0.2",esprima:"^4.0.1"},optionalDependencies:{"source-map":"~0.6.1"},devDependencies:{acorn:"^8.0.4",bluebird:"^3.4.7","bower-registry-client":"^1.0.0",chai:"^4.2.0","chai-exclude":"^2.0.2","commonjs-everywhere":"^0.9.7",gulp:"^4.0.2","gulp-eslint":"^6.0.0","gulp-mocha":"^7.0.2",minimist:"^1.2.5",optionator:"^0.9.1",semver:"^7.3.4"},license:"BSD-2-Clause",scripts:{test:"gulp travis","unit-test":"gulp test",lint:"gulp lint",release:"node tools/release.js","build-min":"./node_modules/.bin/cjsify -ma path: tools/entry-point.js > escodegen.browser.min.js",build:"./node_modules/.bin/cjsify -a path: tools/entry-point.js > escodegen.browser.js"}}}}),Ju=he({"../../node_modules/escodegen/escodegen.js"(e){(function(){var t,n,r,i,o,s,l,p,d,D,y,C,E,m,g,T,k,v,R,_,x,F,B,b,I,q;o=Lu(),s=Mu(),t=o.Syntax;function U(u){return Fe.Expression.hasOwnProperty(u.type)}function z(u){return Fe.Statement.hasOwnProperty(u.type)}n={Sequence:0,Yield:1,Assignment:1,Conditional:2,ArrowFunction:2,Coalesce:3,LogicalOR:4,LogicalAND:5,BitwiseOR:6,BitwiseXOR:7,BitwiseAND:8,Equality:9,Relational:10,BitwiseSHIFT:11,Additive:12,Multiplicative:13,Exponentiation:14,Await:15,Unary:15,Postfix:16,OptionalChaining:17,Call:18,New:19,TaggedTemplate:20,Member:21,Primary:22},r={"??":n.Coalesce,"||":n.LogicalOR,"&&":n.LogicalAND,"|":n.BitwiseOR,"^":n.BitwiseXOR,"&":n.BitwiseAND,"==":n.Equality,"!=":n.Equality,"===":n.Equality,"!==":n.Equality,is:n.Equality,isnt:n.Equality,"<":n.Relational,">":n.Relational,"<=":n.Relational,">=":n.Relational,in:n.Relational,instanceof:n.Relational,"<<":n.BitwiseSHIFT,">>":n.BitwiseSHIFT,">>>":n.BitwiseSHIFT,"+":n.Additive,"-":n.Additive,"*":n.Multiplicative,"%":n.Multiplicative,"/":n.Multiplicative,"**":n.Exponentiation};var G=1,ee=2,de=4,pe=8,Ae=16,te=32,Ee=64,Re=ee|de,be=G|ee,S=G|ee|de,j=G,J=de,H=G|de,M=G,X=G|te,Q=0,ne=G|Ae,ie=G|pe;function le(){return{indent:null,base:null,parse:null,comment:!1,format:{indent:{style:" ",base:0,adjustMultilineComment:!1},newline:` `,space:" ",json:!1,renumber:!1,hexadecimal:!1,quotes:"single",escapeless:!1,compact:!1,parentheses:!0,semicolons:!0,safeConcatenation:!1,preserveBlankLines:!1},moz:{comprehensionExpressionStartsWithAssignment:!1,starlessGenerator:!1},sourceMap:null,sourceMapRoot:null,sourceMapWithCode:!1,directive:!1,raw:!0,verbatim:null,sourceCode:null}}function Z(u,c){var a="";for(c|=0;c>0;c>>>=1,u+=u)c&1&&(a+=u);return a}function N(u){return/[\r\n]/g.test(u)}function se(u){var c=u.length;return c&&s.code.isLineTerminator(u.charCodeAt(c-1))}function W(u,c){var a;for(a in c)c.hasOwnProperty(a)&&(u[a]=c[a]);return u}function Ne(u,c){var a,h;function A(w){return typeof w=="object"&&w instanceof Object&&!(w instanceof RegExp)}for(a in c)c.hasOwnProperty(a)&&(h=c[a],A(h)?A(u[a])?Ne(u[a],h):u[a]=Ne({},h):u[a]=h);return u}function rt(u){var c,a,h,A,w;if(u!==u)throw new Error("Numeric literal whose value is NaN");if(u<0||u===0&&1/u<0)throw new Error("Numeric literal whose value is negative");if(u===1/0)return d?"null":D?"1e400":"1e+400";if(c=""+u,!D||c.length<3)return c;for(a=c.indexOf("."),!d&&c.charCodeAt(0)===48&&a===1&&(a=0,c=c.slice(1)),h=c,c=c.replace("e+","e"),A=0,(w=h.indexOf("e"))>0&&(A=+h.slice(w+1),h=h.slice(0,w)),a>=0&&(A-=h.length-a-1,h=+(h.slice(0,a)+h.slice(a+1))+""),w=0;h.charCodeAt(h.length+w-1)===48;)--w;return w!==0&&(A-=w,h=h.slice(0,w)),A!==0&&(h+="e"+A),(h.length 1e12&&Math.floor(u)===u&&(h="0x"+u.toString(16)).length 255?"\\u"+"0000".slice(a.length)+a:u===0&&!s.code.isDecimalDigit(c)?"\\0":u===11?"\\x0B":"\\x"+"00".slice(a.length)+a)}function cu(u){if(u===92)return"\\\\";if(u===10)return"\\n";if(u===13)return"\\r";if(u===8232)return"\\u2028";if(u===8233)return"\\u2029";throw new Error("Incorrectly classified character")}function hu(u){var c,a,h,A;for(A=C==="double"?'"':"'",c=0,a=u.length;c126))){c+=lu(A,u.charCodeAt(a+1));continue}c+=String.fromCharCode(A)}if(O=!(C==="double"||C==="auto"&&P =0&&!s.code.isLineTerminator(u.charCodeAt(c));--c);return u.length-1-c}function du(u,c){var a,h,A,w,P,O,V,ae;for(a=u.split(/\r\n|[\r\n]/),O=Number.MAX_VALUE,h=1,A=a.length;hP&&(O=P)}for(typeof c<"u"?(V=l,a[1][O]==="*"&&(c+=" "),l=c):(O&1&&--O,V=l),h=1,A=a.length;h0&&!u.body[P-1].trailingComments&&!u.body[P].leadingComments&&ut(u.body[P-1].range[1],u.body[P].range[0],A)),P===O-1&&(ae|=te),u.body[P].leadingComments&&b?V=w.generateStatement(u.body[P],ae):V=ve(w.generateStatement(u.body[P],ae)),A.push(V),se(fe(V).toString())||b&&P 1?ge(V):V(),a.push(this.semicolon(c)),a},ThrowStatement:function(u,c){return[Y("throw",this.generateExpression(u.argument,n.Sequence,S)),this.semicolon(c)]},TryStatement:function(u,c){var a,h,A,w;if(a=["try",this.maybeBlock(u.block,M)],a=this.maybeBlockSuffix(u.block,a),u.handlers)for(h=0,A=u.handlers.length;h0?` `:""],P=ne,A=0;A 0&&!u.body[A-1].trailingComments&&!u.body[A].leadingComments&&ut(u.body[A-1].range[1],u.body[A].range[0],a)),h=ve(this.generateStatement(u.body[A],P)),a.push(h),A+1 0){for(h.push("("),w=0,P=A;w =2&&A.charCodeAt(0)===48)&&h.push(" ")),h.push(u.optional?"?.":"."),h.push(ke(u.property))),ye(h,n.Member,c)},MetaProperty:function(u,c,a){var h;return h=[],h.push(typeof u.meta=="string"?u.meta:ke(u.meta)),h.push("."),h.push(typeof u.property=="string"?u.property:ke(u.property)),ye(h,n.Member,c)},UnaryExpression:function(u,c,a){var h,A,w,P,O;return A=this.generateExpression(u.argument,n.Unary,S),g===""?h=Y(u.operator,A):(h=[u.operator],u.operator.length>2?h=Y(h,A):(P=fe(h).toString(),O=P.charCodeAt(P.length-1),w=A.toString().charCodeAt(0),((O===43||O===45)&&O===w||s.code.isIdentifierPartES5(O)&&s.code.isIdentifierPartES5(w))&&h.push(Be()),h.push(A))),ye(h,n.Unary,c)},YieldExpression:function(u,c,a){var h;return u.delegate?h="yield*":h="yield",u.argument&&(h=Y(h,this.generateExpression(u.argument,n.Yield,S))),ye(h,n.Yield,c)},AwaitExpression:function(u,c,a){var h=Y(u.all?"await*":"await",this.generateExpression(u.argument,n.Await,S));return ye(h,n.Await,c)},UpdateExpression:function(u,c,a){return u.prefix?ye([u.operator,this.generateExpression(u.argument,n.Unary,S)],n.Unary,c):ye([this.generateExpression(u.argument,n.Postfix,S),u.operator],n.Postfix,c)},FunctionExpression:function(u,c,a){var h=[Dt(u,!0),"function"];return u.id?(h.push(Tt(u)||Be()),h.push(ke(u.id))):h.push(Tt(u)||g),h.push(this.generateFunctionBody(u)),h},ArrayPattern:function(u,c,a){return this.ArrayExpression(u,c,a,!0)},ArrayExpression:function(u,c,a,h){var A,w,P=this;return u.elements.length?(w=h?!1:u.elements.length>1,A=["[",w?m:""],ge(function(O){var V,ae;for(V=0,ae=u.elements.length;V
1,ge(function(){w=P.generateExpression(u.properties[0],n.Sequence,S)}),!h&&!N(fe(w).toString())?["{",g,w,g,"}"]:(ge(function(O){var V,ae;if(A=["{",m,O,w],h)for(A.push(","+m),V=1,ae=u.properties.length;V 0||_.moz.comprehensionExpressionStartsWithAssignment?h=Y(h,P):h.push(P)}),u.filter&&(h=Y(h,"if"+g),P=this.generateExpression(u.filter,n.Sequence,S),h=Y(h,["(",P,")"])),_.moz.comprehensionExpressionStartsWithAssignment||(P=this.generateExpression(u.body,n.Assignment,S),h=Y(h,P)),h.push(u.type===t.GeneratorExpression?")":"]"),h},ComprehensionBlock:function(u,c,a){var h;return u.left.type===t.VariableDeclaration?h=[u.left.kind,Be(),this.generateStatement(u.left.declarations[0],Q)]:h=this.generateExpression(u.left,n.Call,S),h=Y(h,u.of?"of":"in"),h=Y(h,this.generateExpression(u.right,n.Sequence,S)),["for"+g+"(",h,")"]},SpreadElement:function(u,c,a){return["...",this.generateExpression(u.argument,n.Assignment,S)]},TaggedTemplateExpression:function(u,c,a){var h=be;a&ee||(h=j);var A=[this.generateExpression(u.tag,n.Call,h),this.generateExpression(u.quasi,n.Primary,J)];return ye(A,n.TaggedTemplate,c)},TemplateElement:function(u,c,a){return u.value.raw},TemplateLiteral:function(u,c,a){var h,A,w;for(h=["`"],A=0,w=u.quasis.length;A gt,Parser:()=>me,Position:()=>Ke,SourceLocation:()=>ct,TokContext:()=>Oe,Token:()=>Ft,TokenType:()=>ce,defaultOptions:()=>Bt,getLineInfo:()=>mn,isIdentifierChar:()=>Qe,isIdentifierStart:()=>Ge,isNewLine:()=>ot,keywordTypes:()=>xt,lineBreak:()=>Te,lineBreakG:()=>et,nonASCIIwhitespace:()=>Wt,parse:()=>ri,parseExpressionAt:()=>ui,tokContexts:()=>Ce,tokTypes:()=>f,tokenizer:()=>ii,version:()=>xn});function Dn(e,t){for(var n=65536,r=0;r e)return!1;if(n+=t[r+1],n>=e)return!0}}function Ge(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&Or.test(String.fromCharCode(e)):t===!1?!1:Dn(e,kn)}function Qe(e,t){return e<48?e===36:e<58?!0:e<65?!1:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&Rr.test(String.fromCharCode(e)):t===!1?!1:Dn(e,kn)||Dn(e,Lr)}function Le(e,t){return new ce(e,{beforeExpr:!0,binop:t})}function oe(e,t){return t===void 0&&(t={}),t.keyword=e,xt[e]=new ce(e,t)}function ot(e,t){return e===10||e===13||!t&&(e===8232||e===8233)}function qt(e,t){return Nr.call(e,t)}function Ze(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}function mn(e,t){for(var n=1,r=0;;){et.lastIndex=r;var i=et.exec(e);if(i&&i.index =2015&&(t.ecmaVersion-=2009),t.allowReserved==null&&(t.allowReserved=t.ecmaVersion<5),Cn(t.onToken)){var r=t.onToken;t.onToken=function(i){return r.push(i)}}return Cn(t.onComment)&&(t.onComment=Hu(t,t.onComment)),t}function Hu(e,t){return function(n,r,i,o,s,l){var p={type:n?"Block":"Line",value:r,start:i,end:o};e.locations&&(p.loc=new ct(this,s,l)),e.ranges&&(p.range=[i,o]),t.push(p)}}function Yt(e,t){return lt|(e?En:0)|(t?gn:0)}function Pt(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}function Jn(e,t,n,r){return e.type=t,e.end=n,this.options.locations&&(e.loc.end=r),this.options.ranges&&(e.range[1]=n),e}function Jt(e){var t=yn[e]={binary:Ze(jr[e]+" "+Fn),nonBinary:{General_Category:Ze(Fn),Script:Ze(Mr[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}function It(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}function Xn(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}function Qu(e){return Ge(e,!0)||e===36||e===95}function Ku(e){return Qe(e,!0)||e===36||e===95||e===8204||e===8205}function Pr(e){return e>=65&&e<=90||e>=97&&e<=122}function Zu(e){return e>=0&&e<=1114111}function ei(e){return e===100||e===68||e===115||e===83||e===119||e===87}function Ir(e){return Pr(e)||e===95}function ti(e){return Ir(e)||Ut(e)}function Ut(e){return e>=48&&e<=57}function Hn(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function Qn(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}function Kn(e){return e>=48&&e<=55}function ni(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function Zn(e){return typeof BigInt!="function"?null:BigInt(e.replace(/_/g,""))}function Xt(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}function ri(e,t){return me.parse(e,t)}function ui(e,t,n){return me.parseExpressionAt(e,t,n)}function ii(e,t){return me.tokenizer(e,t)}var Ot,Rt,er,tr,Lt,Ht,Or,Rr,kn,Lr,ce,Pe,we,xt,f,Te,et,Wt,Ie,Qt,Nr,nr,Cn,Ke,ct,Bt,st,lt,Nt,En,gn,Kt,Zt,en,tn,nn,jt,Me,rn,un,sn,me,Ye,_e,rr,K,Mt,ur,ir,at,Vt,an,Ve,re,sr,mt,ze,ar,gt,Ct,Oe,Ce,Et,on,ln,or,jr,Fn,cn,hn,lr,Mr,yn,$,qe,Ft,ue,pn,xn,Bn=Cu({"../../node_modules/acorn/dist/acorn.mjs"(){Ot={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},Rt="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",er={5:Rt,"5module":Rt+" export import",6:Rt+" const class extends export import super"},tr=/^in(stanceof)?$/,Lt="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",Ht="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",Or=new RegExp("["+Lt+"]"),Rr=new RegExp("["+Lt+Ht+"]"),Lt=Ht=null,kn=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938],Lr=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239],ce=function(e,t){t===void 0&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null},Pe={beforeExpr:!0},we={startsExpr:!0},xt={},f={num:new ce("num",we),regexp:new ce("regexp",we),string:new ce("string",we),name:new ce("name",we),eof:new ce("eof"),bracketL:new ce("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new ce("]"),braceL:new ce("{",{beforeExpr:!0,startsExpr:!0}),braceR:new ce("}"),parenL:new ce("(",{beforeExpr:!0,startsExpr:!0}),parenR:new ce(")"),comma:new ce(",",Pe),semi:new ce(";",Pe),colon:new ce(":",Pe),dot:new ce("."),question:new ce("?",Pe),questionDot:new ce("?."),arrow:new ce("=>",Pe),template:new ce("template"),invalidTemplate:new ce("invalidTemplate"),ellipsis:new ce("...",Pe),backQuote:new ce("`",we),dollarBraceL:new ce("${",{beforeExpr:!0,startsExpr:!0}),eq:new ce("=",{beforeExpr:!0,isAssign:!0}),assign:new ce("_=",{beforeExpr:!0,isAssign:!0}),incDec:new ce("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new ce("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:Le("||",1),logicalAND:Le("&&",2),bitwiseOR:Le("|",3),bitwiseXOR:Le("^",4),bitwiseAND:Le("&",5),equality:Le("==/!=/===/!==",6),relational:Le(">/<=/>=",7),bitShift:Le("<>>/>>>",8),plusMin:new ce("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:Le("%",10),star:Le("*",10),slash:Le("/",10),starstar:new ce("**",{beforeExpr:!0}),coalesce:Le("??",1),_break:oe("break"),_case:oe("case",Pe),_catch:oe("catch"),_continue:oe("continue"),_debugger:oe("debugger"),_default:oe("default",Pe),_do:oe("do",{isLoop:!0,beforeExpr:!0}),_else:oe("else",Pe),_finally:oe("finally"),_for:oe("for",{isLoop:!0}),_function:oe("function",we),_if:oe("if"),_return:oe("return",Pe),_switch:oe("switch"),_throw:oe("throw",Pe),_try:oe("try"),_var:oe("var"),_const:oe("const"),_while:oe("while",{isLoop:!0}),_with:oe("with"),_new:oe("new",{beforeExpr:!0,startsExpr:!0}),_this:oe("this",we),_super:oe("super",we),_class:oe("class",we),_extends:oe("extends",Pe),_export:oe("export"),_import:oe("import",we),_null:oe("null",we),_true:oe("true",we),_false:oe("false",we),_in:oe("in",{beforeExpr:!0,binop:7}),_instanceof:oe("instanceof",{beforeExpr:!0,binop:7}),_typeof:oe("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:oe("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:oe("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},Te=/\r\n?|\n|\u2028|\u2029/,et=new RegExp(Te.source,"g"),Wt=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,Ie=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Qt=Object.prototype,Nr=Qt.hasOwnProperty,nr=Qt.toString,Cn=Array.isArray||function(e){return nr.call(e)==="[object Array]"},Ke=function(e,t){this.line=e,this.column=t},Ke.prototype.offset=function(e){return new Ke(this.line,this.column+e)},ct=function(e,t,n){this.start=t,this.end=n,e.sourceFile!==null&&(this.source=e.sourceFile)},Bt={ecmaVersion:10,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:!1,allowHashBang:!1,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},st=1,lt=2,Nt=st|lt,En=4,gn=8,Kt=16,Zt=32,en=64,tn=128,nn=0,jt=1,Me=2,rn=3,un=4,sn=5,me=function(e,t,n){this.options=e=Xu(e),this.sourceFile=e.sourceFile,this.keywords=Ze(er[e.ecmaVersion>=6?6:e.sourceType==="module"?"5module":5]);var r="";if(e.allowReserved!==!0){for(var i=e.ecmaVersion;!(r=Ot[i]);i--);e.sourceType==="module"&&(r+=" await")}this.reservedWords=Ze(r);var o=(r?r+" ":"")+Ot.strict;this.reservedWordsStrict=Ze(o),this.reservedWordsStrictBind=Ze(o+" "+Ot.strictBind),this.input=String(t),this.containsEsc=!1,n?(this.pos=n,this.lineStart=this.input.lastIndexOf(` +`&&(a=F?fe(a).replaceRight(/\s+$/,""):h.replace(/\s+$/,"")),fe(a,u)};function Du(u){var c;if(c=new Fe,z(u))return c.generateStatement(u,M);if(U(u))return c.generateExpression(u,n.Sequence,S);throw new Error("Unknown node type: "+u.type)}function mu(u,c){var a=le(),h,A;return c!=null?(typeof c.indent=="string"&&(a.format.indent.style=c.indent),typeof c.base=="number"&&(a.format.indent.base=c.base),c=Ne(a,c),p=c.format.indent.style,typeof c.base=="string"?l=c.base:l=Z(p,c.format.indent.base)):(c=a,p=c.format.indent.style,l=Z(p,c.format.indent.base)),d=c.format.json,D=c.format.renumber,y=d?!1:c.format.hexadecimal,C=d?"double":c.format.quotes,E=c.format.escapeless,m=c.format.newline,g=c.format.space,c.format.compact&&(m=g=p=l=""),T=c.format.parentheses,k=c.format.semicolons,v=c.format.safeConcatenation,R=c.directive,x=d?null:c.parse,F=c.sourceMap,B=c.sourceCode,b=c.format.preserveBlankLines&&B!==null,_=c,F&&(e.browser?i=global.sourceMap.SourceNode:i=$u().SourceNode),h=Du(u),F?(A=h.toStringWithSourceMap({file:c.file,sourceRoot:c.sourceMapRoot}),c.sourceContent&&A.map.setSourceContent(c.sourceMap,c.sourceContent),c.sourceMapWithCode?A:A.map.toString()):(A={code:h.toString(),map:null},c.sourceMapWithCode?A:A.code)}I={indent:{style:"",base:0},renumber:!0,hexadecimal:!0,quotes:"auto",escapeless:!0,compact:!0,parentheses:!1,semicolons:!1},q=le().format,e.version=Yu().version,e.generate=mu,e.attachComments=o.attachComments,e.Precedence=Ne({},n),e.browser=!1,e.FORMAT_MINIFY=I,e.FORMAT_DEFAULTS=q})()}}),An={};Cu(An,{Node:()=>gt,Parser:()=>me,Position:()=>Ke,SourceLocation:()=>ct,TokContext:()=>Oe,Token:()=>Ft,TokenType:()=>ce,defaultOptions:()=>Bt,getLineInfo:()=>mn,isIdentifierChar:()=>Qe,isIdentifierStart:()=>Ge,isNewLine:()=>ot,keywordTypes:()=>xt,lineBreak:()=>Te,lineBreakG:()=>et,nonASCIIwhitespace:()=>Wt,parse:()=>ri,parseExpressionAt:()=>ui,tokContexts:()=>Ce,tokTypes:()=>f,tokenizer:()=>ii,version:()=>xn});function Dn(e,t){for(var n=65536,r=0;r e)return!1;if(n+=t[r+1],n>=e)return!0}}function Ge(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&Or.test(String.fromCharCode(e)):t===!1?!1:Dn(e,kn)}function Qe(e,t){return e<48?e===36:e<58?!0:e<65?!1:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&Rr.test(String.fromCharCode(e)):t===!1?!1:Dn(e,kn)||Dn(e,Lr)}function Le(e,t){return new ce(e,{beforeExpr:!0,binop:t})}function oe(e,t){return t===void 0&&(t={}),t.keyword=e,xt[e]=new ce(e,t)}function ot(e,t){return e===10||e===13||!t&&(e===8232||e===8233)}function qt(e,t){return Nr.call(e,t)}function Ze(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}function mn(e,t){for(var n=1,r=0;;){et.lastIndex=r;var i=et.exec(e);if(i&&i.index =2015&&(t.ecmaVersion-=2009),t.allowReserved==null&&(t.allowReserved=t.ecmaVersion<5),Cn(t.onToken)){var r=t.onToken;t.onToken=function(i){return r.push(i)}}return Cn(t.onComment)&&(t.onComment=Hu(t,t.onComment)),t}function Hu(e,t){return function(n,r,i,o,s,l){var p={type:n?"Block":"Line",value:r,start:i,end:o};e.locations&&(p.loc=new ct(this,s,l)),e.ranges&&(p.range=[i,o]),t.push(p)}}function Yt(e,t){return lt|(e?En:0)|(t?gn:0)}function Pt(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}function Jn(e,t,n,r){return e.type=t,e.end=n,this.options.locations&&(e.loc.end=r),this.options.ranges&&(e.range[1]=n),e}function Jt(e){var t=yn[e]={binary:Ze(jr[e]+" "+Fn),nonBinary:{General_Category:Ze(Fn),Script:Ze(Mr[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}function It(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}function Xn(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}function Qu(e){return Ge(e,!0)||e===36||e===95}function Ku(e){return Qe(e,!0)||e===36||e===95||e===8204||e===8205}function Pr(e){return e>=65&&e<=90||e>=97&&e<=122}function Zu(e){return e>=0&&e<=1114111}function ei(e){return e===100||e===68||e===115||e===83||e===119||e===87}function Ir(e){return Pr(e)||e===95}function ti(e){return Ir(e)||Ut(e)}function Ut(e){return e>=48&&e<=57}function Hn(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function Qn(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}function Kn(e){return e>=48&&e<=55}function ni(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function Zn(e){return typeof BigInt!="function"?null:BigInt(e.replace(/_/g,""))}function Xt(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}function ri(e,t){return me.parse(e,t)}function ui(e,t,n){return me.parseExpressionAt(e,t,n)}function ii(e,t){return me.tokenizer(e,t)}var Ot,Rt,er,tr,Lt,Ht,Or,Rr,kn,Lr,ce,Pe,we,xt,f,Te,et,Wt,Ie,Qt,Nr,nr,Cn,Ke,ct,Bt,st,lt,Nt,En,gn,Kt,Zt,en,tn,nn,jt,Me,rn,un,sn,me,Ye,_e,rr,K,Mt,ur,ir,at,Vt,an,Ve,re,sr,mt,ze,ar,gt,Ct,Oe,Ce,Et,on,ln,or,jr,Fn,cn,hn,lr,Mr,yn,$,qe,Ft,ue,pn,xn,Bn=Eu({"../../node_modules/acorn/dist/acorn.mjs"(){Ot={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},Rt="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",er={5:Rt,"5module":Rt+" export import",6:Rt+" const class extends export import super"},tr=/^in(stanceof)?$/,Lt="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",Ht="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",Or=new RegExp("["+Lt+"]"),Rr=new RegExp("["+Lt+Ht+"]"),Lt=Ht=null,kn=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938],Lr=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239],ce=function(e,t){t===void 0&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null},Pe={beforeExpr:!0},we={startsExpr:!0},xt={},f={num:new ce("num",we),regexp:new ce("regexp",we),string:new ce("string",we),name:new ce("name",we),eof:new ce("eof"),bracketL:new ce("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new ce("]"),braceL:new ce("{",{beforeExpr:!0,startsExpr:!0}),braceR:new ce("}"),parenL:new ce("(",{beforeExpr:!0,startsExpr:!0}),parenR:new ce(")"),comma:new ce(",",Pe),semi:new ce(";",Pe),colon:new ce(":",Pe),dot:new ce("."),question:new ce("?",Pe),questionDot:new ce("?."),arrow:new ce("=>",Pe),template:new ce("template"),invalidTemplate:new ce("invalidTemplate"),ellipsis:new ce("...",Pe),backQuote:new ce("`",we),dollarBraceL:new ce("${",{beforeExpr:!0,startsExpr:!0}),eq:new ce("=",{beforeExpr:!0,isAssign:!0}),assign:new ce("_=",{beforeExpr:!0,isAssign:!0}),incDec:new ce("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new ce("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:Le("||",1),logicalAND:Le("&&",2),bitwiseOR:Le("|",3),bitwiseXOR:Le("^",4),bitwiseAND:Le("&",5),equality:Le("==/!=/===/!==",6),relational:Le(">/<=/>=",7),bitShift:Le("<>>/>>>",8),plusMin:new ce("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:Le("%",10),star:Le("*",10),slash:Le("/",10),starstar:new ce("**",{beforeExpr:!0}),coalesce:Le("??",1),_break:oe("break"),_case:oe("case",Pe),_catch:oe("catch"),_continue:oe("continue"),_debugger:oe("debugger"),_default:oe("default",Pe),_do:oe("do",{isLoop:!0,beforeExpr:!0}),_else:oe("else",Pe),_finally:oe("finally"),_for:oe("for",{isLoop:!0}),_function:oe("function",we),_if:oe("if"),_return:oe("return",Pe),_switch:oe("switch"),_throw:oe("throw",Pe),_try:oe("try"),_var:oe("var"),_const:oe("const"),_while:oe("while",{isLoop:!0}),_with:oe("with"),_new:oe("new",{beforeExpr:!0,startsExpr:!0}),_this:oe("this",we),_super:oe("super",we),_class:oe("class",we),_extends:oe("extends",Pe),_export:oe("export"),_import:oe("import",we),_null:oe("null",we),_true:oe("true",we),_false:oe("false",we),_in:oe("in",{beforeExpr:!0,binop:7}),_instanceof:oe("instanceof",{beforeExpr:!0,binop:7}),_typeof:oe("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:oe("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:oe("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},Te=/\r\n?|\n|\u2028|\u2029/,et=new RegExp(Te.source,"g"),Wt=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,Ie=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Qt=Object.prototype,Nr=Qt.hasOwnProperty,nr=Qt.toString,Cn=Array.isArray||function(e){return nr.call(e)==="[object Array]"},Ke=function(e,t){this.line=e,this.column=t},Ke.prototype.offset=function(e){return new Ke(this.line,this.column+e)},ct=function(e,t,n){this.start=t,this.end=n,e.sourceFile!==null&&(this.source=e.sourceFile)},Bt={ecmaVersion:10,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:!1,allowHashBang:!1,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},st=1,lt=2,Nt=st|lt,En=4,gn=8,Kt=16,Zt=32,en=64,tn=128,nn=0,jt=1,Me=2,rn=3,un=4,sn=5,me=function(e,t,n){this.options=e=Xu(e),this.sourceFile=e.sourceFile,this.keywords=Ze(er[e.ecmaVersion>=6?6:e.sourceType==="module"?"5module":5]);var r="";if(e.allowReserved!==!0){for(var i=e.ecmaVersion;!(r=Ot[i]);i--);e.sourceType==="module"&&(r+=" await")}this.reservedWords=Ze(r);var o=(r?r+" ":"")+Ot.strict;this.reservedWordsStrict=Ze(o),this.reservedWordsStrictBind=Ze(o+" "+Ot.strictBind),this.input=String(t),this.containsEsc=!1,n?(this.pos=n,this.lineStart=this.input.lastIndexOf(` `,n-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(Te).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=f.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=e.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports={},this.pos===0&&e.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(st),this.regexpState=null},Ye={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0}},me.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)},Ye.inFunction.get=function(){return(this.currentVarScope().flags<)>0},Ye.inGenerator.get=function(){return(this.currentVarScope().flags&gn)>0},Ye.inAsync.get=function(){return(this.currentVarScope().flags&En)>0},Ye.allowSuper.get=function(){return(this.currentThisScope().flags&en)>0},Ye.allowDirectSuper.get=function(){return(this.currentThisScope().flags&tn)>0},Ye.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},me.prototype.inNonArrowFunction=function(){return(this.currentThisScope().flags<)>0},me.extend=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var n=this,r=0;r =,?^&]/.test(i)||i==="!"&&this.input.charAt(r+1)==="=")}e+=t[0].length,Ie.lastIndex=e,e+=Ie.exec(this.input)[0].length,this.input[e]===";"&&e++}},_e.eat=function(e){return this.type===e?(this.next(),!0):!1},_e.isContextual=function(e){return this.type===f.name&&this.value===e&&!this.containsEsc},_e.eatContextual=function(e){return this.isContextual(e)?(this.next(),!0):!1},_e.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},_e.canInsertSemicolon=function(){return this.type===f.eof||this.type===f.braceR||Te.test(this.input.slice(this.lastTokEnd,this.start))},_e.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},_e.semicolon=function(){!this.eat(f.semi)&&!this.insertSemicolon()&&this.unexpected()},_e.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},_e.expect=function(e){this.eat(e)||this.unexpected()},_e.unexpected=function(e){this.raise(e??this.start,"Unexpected token")},_e.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var n=t?e.parenthesizedAssign:e.parenthesizedBind;n>-1&&this.raiseRecoverable(n,"Parenthesized pattern")}},_e.checkExpressionErrors=function(e,t){if(!e)return!1;var n=e.shorthandAssign,r=e.doubleProto;if(!t)return n>=0||r>=0;n>=0&&this.raise(n,"Shorthand property assignments are valid only in destructuring patterns"),r>=0&&this.raiseRecoverable(r,"Redefinition of __proto__ property")},_e.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos =6&&this.unexpected(),this.parseFunctionStatement(i,!1,!e);case f._class:return e&&this.unexpected(),this.parseClass(i,!0);case f._if:return this.parseIfStatement(i);case f._return:return this.parseReturnStatement(i);case f._switch:return this.parseSwitchStatement(i);case f._throw:return this.parseThrowStatement(i);case f._try:return this.parseTryStatement(i);case f._const:case f._var:return o=o||this.value,e&&o!=="var"&&this.unexpected(),this.parseVarStatement(i,o);case f._while:return this.parseWhileStatement(i);case f._with:return this.parseWithStatement(i);case f.braceL:return this.parseBlock(!0,i);case f.semi:return this.parseEmptyStatement(i);case f._export:case f._import:if(this.options.ecmaVersion>10&&r===f._import){Ie.lastIndex=this.pos;var s=Ie.exec(this.input),l=this.pos+s[0].length,p=this.input.charCodeAt(l);if(p===40||p===46)return this.parseExpressionStatement(i,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),r===f._import?this.parseImport(i):this.parseExport(i,n);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(i,!0,!e);var d=this.value,D=this.parseExpression();return r===f.name&&D.type==="Identifier"&&this.eat(f.colon)?this.parseLabeledStatement(i,d,D,e):this.parseExpressionStatement(i,D)}},K.parseBreakContinueStatement=function(e,t){var n=t==="break";this.next(),this.eat(f.semi)||this.insertSemicolon()?e.label=null:this.type!==f.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var r=0;r =6?this.eat(f.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},K.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Mt),this.enterScope(0),this.expect(f.parenL),this.type===f.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var n=this.isLet();if(this.type===f._var||this.type===f._const||n){var r=this.startNode(),i=n?"let":this.value;return this.next(),this.parseVar(r,!0,i),this.finishNode(r,"VariableDeclaration"),(this.type===f._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&r.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===f._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,r)):(t>-1&&this.unexpected(t),this.parseFor(e,r))}var o=new Pt,s=this.parseExpression(!0,o);return this.type===f._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===f._in?t>-1&&this.unexpected(t):e.await=t>-1),this.toAssignable(s,!1,o),this.checkLVal(s),this.parseForIn(e,s)):(this.checkExpressionErrors(o,!0),t>-1&&this.unexpected(t),this.parseFor(e,s))},K.parseFunctionStatement=function(e,t,n){return this.next(),this.parseFunction(e,at|(n?0:Vt),!1,t)},K.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(f._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")},K.parseReturnStatement=function(e){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(f.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},K.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(f.braceL),this.labels.push(ur),this.enterScope(0);for(var t,n=!1;this.type!==f.braceR;)if(this.type===f._case||this.type===f._default){var r=this.type===f._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),r?t.test=this.parseExpression():(n&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),n=!0,t.test=null),this.expect(f.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},K.parseThrowStatement=function(e){return this.next(),Te.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")},ir=[],K.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===f._catch){var t=this.startNode();if(this.next(),this.eat(f.parenL)){t.param=this.parseBindingAtom();var n=t.param.type==="Identifier";this.enterScope(n?Zt:0),this.checkLVal(t.param,n?un:Me),this.expect(f.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0);t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(f._finally)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},K.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")},K.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(Mt),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")},K.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")},K.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},K.parseLabeledStatement=function(e,t,n,r){for(var i=0,o=this.labels;i =0;p--){var d=this.labels[p];if(d.statementStart===e.start)d.statementStart=this.start,d.kind=l;else break}return this.labels.push({name:t,kind:l,statementStart:this.start}),e.body=this.parseStatement(r?r.indexOf("label")===-1?r+"label":r:"label"),this.labels.pop(),e.label=n,this.finishNode(e,"LabeledStatement")},K.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},K.parseBlock=function(e,t,n){for(e===void 0&&(e=!0),t===void 0&&(t=this.startNode()),t.body=[],this.expect(f.braceL),e&&this.enterScope(0);this.type!==f.braceR;){var r=this.parseStatement(null);t.body.push(r)}return n&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")},K.parseFor=function(e,t){return e.init=t,this.expect(f.semi),e.test=this.type===f.semi?null:this.parseExpression(),this.expect(f.semi),e.update=this.type===f.parenR?null:this.parseExpression(),this.expect(f.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")},K.parseForIn=function(e,t){var n=this.type===f._in;return this.next(),t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!n||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")?this.raise(t.start,(n?"for-in":"for-of")+" loop variable declaration may not have an initializer"):t.type==="AssignmentPattern"&&this.raise(t.start,"Invalid left-hand side in for-loop"),e.left=t,e.right=n?this.parseExpression():this.parseMaybeAssign(),this.expect(f.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,n?"ForInStatement":"ForOfStatement")},K.parseVar=function(e,t,n){for(e.declarations=[],e.kind=n;;){var r=this.startNode();if(this.parseVarId(r,n),this.eat(f.eq)?r.init=this.parseMaybeAssign(t):n==="const"&&!(this.type===f._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():r.id.type!=="Identifier"&&!(t&&(this.type===f._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):r.init=null,e.declarations.push(this.finishNode(r,"VariableDeclarator")),!this.eat(f.comma))break}return e},K.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLVal(e.id,t==="var"?jt:Me,!1)},at=1,Vt=2,an=4,K.parseFunction=function(e,t,n,r){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!r)&&(this.type===f.star&&t&Vt&&this.unexpected(),e.generator=this.eat(f.star)),this.options.ecmaVersion>=8&&(e.async=!!r),t&at&&(e.id=t&an&&this.type!==f.name?null:this.parseIdent(),e.id&&!(t&Vt)&&this.checkLVal(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?jt:Me:rn));var i=this.yieldPos,o=this.awaitPos,s=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Yt(e.async,e.generator)),t&at||(e.id=this.type===f.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,n,!1),this.yieldPos=i,this.awaitPos=o,this.awaitIdentPos=s,this.finishNode(e,t&at?"FunctionDeclaration":"FunctionExpression")},K.parseFunctionParams=function(e){this.expect(f.parenL),e.params=this.parseBindingList(f.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},K.parseClass=function(e,t){this.next();var n=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var r=this.startNode(),i=!1;for(r.body=[],this.expect(f.braceL);this.type!==f.braceR;){var o=this.parseClassElement(e.superClass!==null);o&&(r.body.push(o),o.type==="MethodDefinition"&&o.kind==="constructor"&&(i&&this.raise(o.start,"Duplicate constructor in the same class"),i=!0))}return this.strict=n,this.next(),e.body=this.finishNode(r,"ClassBody"),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},K.parseClassElement=function(e){var t=this;if(this.eat(f.semi))return null;var n=this.startNode(),r=function(p,d){d===void 0&&(d=!1);var D=t.start,y=t.startLoc;return t.eatContextual(p)?t.type!==f.parenL&&(!d||!t.canInsertSemicolon())?!0:(n.key&&t.unexpected(),n.computed=!1,n.key=t.startNodeAt(D,y),n.key.name=p,t.finishNode(n.key,"Identifier"),!1):!1};n.kind="method",n.static=r("static");var i=this.eat(f.star),o=!1;i||(this.options.ecmaVersion>=8&&r("async",!0)?(o=!0,i=this.options.ecmaVersion>=9&&this.eat(f.star)):r("get")?n.kind="get":r("set")&&(n.kind="set")),n.key||this.parsePropertyName(n);var s=n.key,l=!1;return!n.computed&&!n.static&&(s.type==="Identifier"&&s.name==="constructor"||s.type==="Literal"&&s.value==="constructor")?(n.kind!=="method"&&this.raise(s.start,"Constructor can't have get/set modifier"),i&&this.raise(s.start,"Constructor can't be a generator"),o&&this.raise(s.start,"Constructor can't be an async method"),n.kind="constructor",l=e):n.static&&s.type==="Identifier"&&s.name==="prototype"&&this.raise(s.start,"Classes may not have a static property named prototype"),this.parseClassMethod(n,i,o,l),n.kind==="get"&&n.value.params.length!==0&&this.raiseRecoverable(n.value.start,"getter should have no params"),n.kind==="set"&&n.value.params.length!==1&&this.raiseRecoverable(n.value.start,"setter should have exactly one param"),n.kind==="set"&&n.value.params[0].type==="RestElement"&&this.raiseRecoverable(n.value.params[0].start,"Setter cannot use rest params"),n},K.parseClassMethod=function(e,t,n,r){return e.value=this.parseMethod(t,n,r),this.finishNode(e,"MethodDefinition")},K.parseClassId=function(e,t){this.type===f.name?(e.id=this.parseIdent(),t&&this.checkLVal(e.id,Me,!1)):(t===!0&&this.unexpected(),e.id=null)},K.parseClassSuper=function(e){e.superClass=this.eat(f._extends)?this.parseExprSubscripts():null},K.parseExport=function(e,t){if(this.next(),this.eat(f.star))return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseIdent(!0),this.checkExport(t,e.exported.name,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==f.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(f._default)){this.checkExport(t,"default",this.lastTokStart);var n;if(this.type===f._function||(n=this.isAsyncFunction())){var r=this.startNode();this.next(),n&&this.next(),e.declaration=this.parseFunction(r,at|an,!1,n)}else if(this.type===f._class){var i=this.startNode();e.declaration=this.parseClass(i,"nullableID")}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(null),e.declaration.type==="VariableDeclaration"?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==f.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var o=0,s=e.specifiers;o =6&&e)switch(e.type){case"Identifier":this.inAsync&&e.name==="await"&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",n&&this.checkPatternErrors(n,!0);for(var r=0,i=e.properties;r =6)switch(this.type){case f.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(f.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case f.braceL:return this.parseObj(!0)}return this.parseIdent()},Ve.parseBindingList=function(e,t,n){for(var r=[],i=!0;!this.eat(e);)if(i?i=!1:this.expect(f.comma),t&&this.type===f.comma)r.push(null);else{if(n&&this.afterTrailingComma(e))break;if(this.type===f.ellipsis){var o=this.parseRestBinding();this.parseBindingListItem(o),r.push(o),this.type===f.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}else{var s=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(s),r.push(s)}}return r},Ve.parseBindingListItem=function(e){return e},Ve.parseMaybeDefault=function(e,t,n){if(n=n||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(f.eq))return n;var r=this.startNodeAt(e,t);return r.left=n,r.right=this.parseMaybeAssign(),this.finishNode(r,"AssignmentPattern")},Ve.checkLVal=function(e,t,n){switch(t===void 0&&(t=nn),e.type){case"Identifier":t===Me&&e.name==="let"&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(t?"Binding ":"Assigning to ")+e.name+" in strict mode"),n&&(qt(n,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),n[e.name]=!0),t!==nn&&t!==sn&&this.declareName(e.name,t,e.start);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":t&&this.raiseRecoverable(e.start,"Binding member expression");break;case"ObjectPattern":for(var r=0,i=e.properties;r =9&&e.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var r=e.key,i;switch(r.type){case"Identifier":i=r.name;break;case"Literal":i=String(r.value);break;default:return}var o=e.kind;if(this.options.ecmaVersion>=6){i==="__proto__"&&o==="init"&&(t.proto&&(n?n.doubleProto<0&&(n.doubleProto=r.start):this.raiseRecoverable(r.start,"Redefinition of __proto__ property")),t.proto=!0);return}i="$"+i;var s=t[i];if(s){var l;o==="init"?l=this.strict&&s.init||s.get||s.set:l=s.init||s[o],l&&this.raiseRecoverable(r.start,"Redefinition of property")}else s=t[i]={init:!1,get:!1,set:!1};s[o]=!0}},re.parseExpression=function(e,t){var n=this.start,r=this.startLoc,i=this.parseMaybeAssign(e,t);if(this.type===f.comma){var o=this.startNodeAt(n,r);for(o.expressions=[i];this.eat(f.comma);)o.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(o,"SequenceExpression")}return i},re.parseMaybeAssign=function(e,t,n){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(e);this.exprAllowed=!1}var r=!1,i=-1,o=-1;t?(i=t.parenthesizedAssign,o=t.trailingComma,t.parenthesizedAssign=t.trailingComma=-1):(t=new Pt,r=!0);var s=this.start,l=this.startLoc;(this.type===f.parenL||this.type===f.name)&&(this.potentialArrowAt=this.start);var p=this.parseMaybeConditional(e,t);if(n&&(p=n.call(this,p,s,l)),this.type.isAssign){var d=this.startNodeAt(s,l);return d.operator=this.value,d.left=this.type===f.eq?this.toAssignable(p,!1,t):p,r||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=d.left.start&&(t.shorthandAssign=-1),this.checkLVal(p),this.next(),d.right=this.parseMaybeAssign(e),this.finishNode(d,"AssignmentExpression")}else r&&this.checkExpressionErrors(t,!0);return i>-1&&(t.parenthesizedAssign=i),o>-1&&(t.trailingComma=o),p},re.parseMaybeConditional=function(e,t){var n=this.start,r=this.startLoc,i=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return i;if(this.eat(f.question)){var o=this.startNodeAt(n,r);return o.test=i,o.consequent=this.parseMaybeAssign(),this.expect(f.colon),o.alternate=this.parseMaybeAssign(e),this.finishNode(o,"ConditionalExpression")}return i},re.parseExprOps=function(e,t){var n=this.start,r=this.startLoc,i=this.parseMaybeUnary(t,!1);return this.checkExpressionErrors(t)||i.start===n&&i.type==="ArrowFunctionExpression"?i:this.parseExprOp(i,n,r,-1,e)},re.parseExprOp=function(e,t,n,r,i){var o=this.type.binop;if(o!=null&&(!i||this.type!==f._in)&&o>r){var s=this.type===f.logicalOR||this.type===f.logicalAND,l=this.type===f.coalesce;l&&(o=f.logicalAND.binop);var p=this.value;this.next();var d=this.start,D=this.startLoc,y=this.parseExprOp(this.parseMaybeUnary(null,!1),d,D,o,i),C=this.buildBinary(t,n,e,y,p,s||l);return(s&&this.type===f.coalesce||l&&(this.type===f.logicalOR||this.type===f.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(C,t,n,r,i)}return e},re.buildBinary=function(e,t,n,r,i,o){var s=this.startNodeAt(e,t);return s.left=n,s.operator=i,s.right=r,this.finishNode(s,o?"LogicalExpression":"BinaryExpression")},re.parseMaybeUnary=function(e,t){var n=this.start,r=this.startLoc,i;if(this.isContextual("await")&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction))i=this.parseAwait(),t=!0;else if(this.type.prefix){var o=this.startNode(),s=this.type===f.incDec;o.operator=this.value,o.prefix=!0,this.next(),o.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),s?this.checkLVal(o.argument):this.strict&&o.operator==="delete"&&o.argument.type==="Identifier"?this.raiseRecoverable(o.start,"Deleting local variable in strict mode"):t=!0,i=this.finishNode(o,s?"UpdateExpression":"UnaryExpression")}else{if(i=this.parseExprSubscripts(e),this.checkExpressionErrors(e))return i;for(;this.type.postfix&&!this.canInsertSemicolon();){var l=this.startNodeAt(n,r);l.operator=this.value,l.prefix=!1,l.argument=i,this.checkLVal(i),this.next(),i=this.finishNode(l,"UpdateExpression")}}return!t&&this.eat(f.starstar)?this.buildBinary(n,r,i,this.parseMaybeUnary(null,!1),"**",!1):i},re.parseExprSubscripts=function(e){var t=this.start,n=this.startLoc,r=this.parseExprAtom(e);if(r.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return r;var i=this.parseSubscripts(r,t,n);return e&&i.type==="MemberExpression"&&(e.parenthesizedAssign>=i.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=i.start&&(e.parenthesizedBind=-1)),i},re.parseSubscripts=function(e,t,n,r){for(var i=this.options.ecmaVersion>=8&&e.type==="Identifier"&&e.name==="async"&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&this.potentialArrowAt===e.start,o=!1;;){var s=this.parseSubscript(e,t,n,r,i,o);if(s.optional&&(o=!0),s===e||s.type==="ArrowFunctionExpression"){if(o){var l=this.startNodeAt(t,n);l.expression=s,s=this.finishNode(l,"ChainExpression")}return s}e=s}},re.parseSubscript=function(e,t,n,r,i,o){var s=this.options.ecmaVersion>=11,l=s&&this.eat(f.questionDot);r&&l&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var p=this.eat(f.bracketL);if(p||l&&this.type!==f.parenL&&this.type!==f.backQuote||this.eat(f.dot)){var d=this.startNodeAt(t,n);d.object=e,d.property=p?this.parseExpression():this.parseIdent(this.options.allowReserved!=="never"),d.computed=!!p,p&&this.expect(f.bracketR),s&&(d.optional=l),e=this.finishNode(d,"MemberExpression")}else if(!r&&this.eat(f.parenL)){var D=new Pt,y=this.yieldPos,C=this.awaitPos,E=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var m=this.parseExprList(f.parenR,this.options.ecmaVersion>=8,!1,D);if(i&&!l&&!this.canInsertSemicolon()&&this.eat(f.arrow))return this.checkPatternErrors(D,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=y,this.awaitPos=C,this.awaitIdentPos=E,this.parseArrowExpression(this.startNodeAt(t,n),m,!0);this.checkExpressionErrors(D,!0),this.yieldPos=y||this.yieldPos,this.awaitPos=C||this.awaitPos,this.awaitIdentPos=E||this.awaitIdentPos;var g=this.startNodeAt(t,n);g.callee=e,g.arguments=m,s&&(g.optional=l),e=this.finishNode(g,"CallExpression")}else if(this.type===f.backQuote){(l||o)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var T=this.startNodeAt(t,n);T.tag=e,T.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(T,"TaggedTemplateExpression")}return e},re.parseExprAtom=function(e){this.type===f.slash&&this.readRegexp();var t,n=this.potentialArrowAt===this.start;switch(this.type){case f._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),t=this.startNode(),this.next(),this.type===f.parenL&&!this.allowDirectSuper&&this.raise(t.start,"super() call outside constructor of a subclass"),this.type!==f.dot&&this.type!==f.bracketL&&this.type!==f.parenL&&this.unexpected(),this.finishNode(t,"Super");case f._this:return t=this.startNode(),this.next(),this.finishNode(t,"ThisExpression");case f.name:var r=this.start,i=this.startLoc,o=this.containsEsc,s=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!o&&s.name==="async"&&!this.canInsertSemicolon()&&this.eat(f._function))return this.parseFunction(this.startNodeAt(r,i),0,!1,!0);if(n&&!this.canInsertSemicolon()){if(this.eat(f.arrow))return this.parseArrowExpression(this.startNodeAt(r,i),[s],!1);if(this.options.ecmaVersion>=8&&s.name==="async"&&this.type===f.name&&!o)return s=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(f.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(r,i),[s],!0)}return s;case f.regexp:var l=this.value;return t=this.parseLiteral(l.value),t.regex={pattern:l.pattern,flags:l.flags},t;case f.num:case f.string:return this.parseLiteral(this.value);case f._null:case f._true:case f._false:return t=this.startNode(),t.value=this.type===f._null?null:this.type===f._true,t.raw=this.type.keyword,this.next(),this.finishNode(t,"Literal");case f.parenL:var p=this.start,d=this.parseParenAndDistinguishExpression(n);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(d)&&(e.parenthesizedAssign=p),e.parenthesizedBind<0&&(e.parenthesizedBind=p)),d;case f.bracketL:return t=this.startNode(),this.next(),t.elements=this.parseExprList(f.bracketR,!0,!0,e),this.finishNode(t,"ArrayExpression");case f.braceL:return this.parseObj(!1,e);case f._function:return t=this.startNode(),this.next(),this.parseFunction(t,0);case f._class:return this.parseClass(this.startNode(),!1);case f._new:return this.parseNew();case f.backQuote:return this.parseTemplate();case f._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}},re.parseExprImport=function(){var e=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var t=this.parseIdent(!0);switch(this.type){case f.parenL:return this.parseDynamicImport(e);case f.dot:return e.meta=t,this.parseImportMeta(e);default:this.unexpected()}},re.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),!this.eat(f.parenR)){var t=this.start;this.eat(f.comma)&&this.eat(f.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")},re.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="meta"&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")},re.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),t.raw.charCodeAt(t.raw.length-1)===110&&(t.bigint=t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")},re.parseParenExpression=function(){this.expect(f.parenL);var e=this.parseExpression();return this.expect(f.parenR),e},re.parseParenAndDistinguishExpression=function(e){var t=this.start,n=this.startLoc,r,i=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var o=this.start,s=this.startLoc,l=[],p=!0,d=!1,D=new Pt,y=this.yieldPos,C=this.awaitPos,E;for(this.yieldPos=0,this.awaitPos=0;this.type!==f.parenR;)if(p?p=!1:this.expect(f.comma),i&&this.afterTrailingComma(f.parenR,!0)){d=!0;break}else if(this.type===f.ellipsis){E=this.start,l.push(this.parseParenItem(this.parseRestBinding())),this.type===f.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}else l.push(this.parseMaybeAssign(!1,D,this.parseParenItem));var m=this.start,g=this.startLoc;if(this.expect(f.parenR),e&&!this.canInsertSemicolon()&&this.eat(f.arrow))return this.checkPatternErrors(D,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=y,this.awaitPos=C,this.parseParenArrowList(t,n,l);(!l.length||d)&&this.unexpected(this.lastTokStart),E&&this.unexpected(E),this.checkExpressionErrors(D,!0),this.yieldPos=y||this.yieldPos,this.awaitPos=C||this.awaitPos,l.length>1?(r=this.startNodeAt(o,s),r.expressions=l,this.finishNodeAt(r,"SequenceExpression",m,g)):r=l[0]}else r=this.parseParenExpression();if(this.options.preserveParens){var T=this.startNodeAt(t,n);return T.expression=r,this.finishNode(T,"ParenthesizedExpression")}else return r},re.parseParenItem=function(e){return e},re.parseParenArrowList=function(e,t,n){return this.parseArrowExpression(this.startNodeAt(e,t),n)},sr=[],re.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(f.dot)){e.meta=t;var n=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="target"&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),n&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.inNonArrowFunction()||this.raiseRecoverable(e.start,"'new.target' can only be used in functions"),this.finishNode(e,"MetaProperty")}var r=this.start,i=this.startLoc,o=this.type===f._import;return e.callee=this.parseSubscripts(this.parseExprAtom(),r,i,!0),o&&e.callee.type==="ImportExpression"&&this.raise(r,"Cannot use new with import()"),this.eat(f.parenL)?e.arguments=this.parseExprList(f.parenR,this.options.ecmaVersion>=8,!1):e.arguments=sr,this.finishNode(e,"NewExpression")},re.parseTemplateElement=function(e){var t=e.isTagged,n=this.startNode();return this.type===f.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),n.value={raw:this.value,cooked:null}):n.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,` `),cooked:this.value},this.next(),n.tail=this.type===f.backQuote,this.finishNode(n,"TemplateElement")},re.parseTemplate=function(e){e===void 0&&(e={});var t=e.isTagged;t===void 0&&(t=!1);var n=this.startNode();this.next(),n.expressions=[];var r=this.parseTemplateElement({isTagged:t});for(n.quasis=[r];!r.tail;)this.type===f.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(f.dollarBraceL),n.expressions.push(this.parseExpression()),this.expect(f.braceR),n.quasis.push(r=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(n,"TemplateLiteral")},re.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===f.name||this.type===f.num||this.type===f.string||this.type===f.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===f.star)&&!Te.test(this.input.slice(this.lastTokEnd,this.start))},re.parseObj=function(e,t){var n=this.startNode(),r=!0,i={};for(n.properties=[],this.next();!this.eat(f.braceR);){if(r)r=!1;else if(this.expect(f.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(f.braceR))break;var o=this.parseProperty(e,t);e||this.checkPropClash(o,i,t),n.properties.push(o)}return this.finishNode(n,e?"ObjectPattern":"ObjectExpression")},re.parseProperty=function(e,t){var n=this.startNode(),r,i,o,s;if(this.options.ecmaVersion>=9&&this.eat(f.ellipsis))return e?(n.argument=this.parseIdent(!1),this.type===f.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(n,"RestElement")):(this.type===f.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),n.argument=this.parseMaybeAssign(!1,t),this.type===f.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(n,"SpreadElement"));this.options.ecmaVersion>=6&&(n.method=!1,n.shorthand=!1,(e||t)&&(o=this.start,s=this.startLoc),e||(r=this.eat(f.star)));var l=this.containsEsc;return this.parsePropertyName(n),!e&&!l&&this.options.ecmaVersion>=8&&!r&&this.isAsyncProp(n)?(i=!0,r=this.options.ecmaVersion>=9&&this.eat(f.star),this.parsePropertyName(n,t)):i=!1,this.parsePropertyValue(n,e,r,i,o,s,t,l),this.finishNode(n,"Property")},re.parsePropertyValue=function(e,t,n,r,i,o,s,l){if((n||r)&&this.type===f.colon&&this.unexpected(),this.eat(f.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,s),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===f.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(n,r);else if(!t&&!l&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.type!==f.comma&&this.type!==f.braceR&&this.type!==f.eq){(n||r)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var p=e.kind==="get"?0:1;if(e.value.params.length!==p){var d=e.value.start;e.kind==="get"?this.raiseRecoverable(d,"getter should have no params"):this.raiseRecoverable(d,"setter should have exactly one param")}else e.kind==="set"&&e.value.params[0].type==="RestElement"&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}else this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"?((n||r)&&this.unexpected(),this.checkUnreserved(e.key),e.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=i),e.kind="init",t?e.value=this.parseMaybeDefault(i,o,e.key):this.type===f.eq&&s?(s.shorthandAssign<0&&(s.shorthandAssign=this.start),e.value=this.parseMaybeDefault(i,o,e.key)):e.value=e.key,e.shorthand=!0):this.unexpected()},re.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(f.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(f.bracketR),e.key;e.computed=!1}return e.key=this.type===f.num||this.type===f.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")},re.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},re.parseMethod=function(e,t,n){var r=this.startNode(),i=this.yieldPos,o=this.awaitPos,s=this.awaitIdentPos;return this.initFunction(r),this.options.ecmaVersion>=6&&(r.generator=e),this.options.ecmaVersion>=8&&(r.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Yt(t,r.generator)|en|(n?tn:0)),this.expect(f.parenL),r.params=this.parseBindingList(f.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(r,!1,!0),this.yieldPos=i,this.awaitPos=o,this.awaitIdentPos=s,this.finishNode(r,"FunctionExpression")},re.parseArrowExpression=function(e,t,n){var r=this.yieldPos,i=this.awaitPos,o=this.awaitIdentPos;return this.enterScope(Yt(n,!1)|Kt),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!n),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1),this.yieldPos=r,this.awaitPos=i,this.awaitIdentPos=o,this.finishNode(e,"ArrowFunctionExpression")},re.parseFunctionBody=function(e,t,n){var r=t&&this.type!==f.braceL,i=this.strict,o=!1;if(r)e.body=this.parseMaybeAssign(),e.expression=!0,this.checkParams(e,!1);else{var s=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!i||s)&&(o=this.strictDirective(this.end),o&&s&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var l=this.labels;this.labels=[],o&&(this.strict=!0),this.checkParams(e,!i&&!o&&!t&&!n&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLVal(e.id,sn),e.body=this.parseBlock(!1,void 0,o&&!i),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=l}this.exitScope()},re.isSimpleParamList=function(e){for(var t=0,n=e;t -1||i.functions.indexOf(e)>-1||i.var.indexOf(e)>-1,i.lexical.push(e),this.inModule&&i.flags&st&&delete this.undefinedExports[e]}else if(t===un){var o=this.currentScope();o.lexical.push(e)}else if(t===rn){var s=this.currentScope();this.treatFunctionsAsVar?r=s.lexical.indexOf(e)>-1:r=s.lexical.indexOf(e)>-1||s.var.indexOf(e)>-1,s.functions.push(e)}else for(var l=this.scopeStack.length-1;l>=0;--l){var p=this.scopeStack[l];if(p.lexical.indexOf(e)>-1&&!(p.flags&Zt&&p.lexical[0]===e)||!this.treatFunctionsAsVarInScope(p)&&p.functions.indexOf(e)>-1){r=!0;break}if(p.var.push(e),this.inModule&&p.flags&st&&delete this.undefinedExports[e],p.flags&Nt)break}r&&this.raiseRecoverable(n,"Identifier '"+e+"' has already been declared")},ze.checkLocalExport=function(e){this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1&&(this.undefinedExports[e.name]=e)},ze.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},ze.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&Nt)return t}},ze.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&Nt&&!(t.flags&Kt))return t}},gt=function(e,t,n){this.type="",this.start=t,this.end=0,e.options.locations&&(this.loc=new ct(e,n)),e.options.directSourceFile&&(this.sourceFile=e.options.directSourceFile),e.options.ranges&&(this.range=[t,0])},Ct=me.prototype,Ct.startNode=function(){return new gt(this,this.start,this.startLoc)},Ct.startNodeAt=function(e,t){return new gt(this,e,t)},Ct.finishNode=function(e,t){return Jn.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},Ct.finishNodeAt=function(e,t,n,r){return Jn.call(this,e,t,n,r)},Oe=function(e,t,n,r,i){this.token=e,this.isExpr=!!t,this.preserveSpace=!!n,this.override=r,this.generator=!!i},Ce={b_stat:new Oe("{",!1),b_expr:new Oe("{",!0),b_tmpl:new Oe("${",!1),p_stat:new Oe("(",!1),p_expr:new Oe("(",!0),q_tmpl:new Oe("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new Oe("function",!1),f_expr:new Oe("function",!0),f_expr_gen:new Oe("function",!0,!1,null,!0),f_gen:new Oe("function",!1,!1,null,!0)},Et=me.prototype,Et.initialContext=function(){return[Ce.b_stat]},Et.braceIsBlock=function(e){var t=this.curContext();return t===Ce.f_expr||t===Ce.f_stat?!0:e===f.colon&&(t===Ce.b_stat||t===Ce.b_expr)?!t.isExpr:e===f._return||e===f.name&&this.exprAllowed?Te.test(this.input.slice(this.lastTokEnd,this.start)):e===f._else||e===f.semi||e===f.eof||e===f.parenR||e===f.arrow?!0:e===f.braceL?t===Ce.b_stat:e===f._var||e===f._const||e===f.name?!1:!this.exprAllowed},Et.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token==="function")return t.generator}return!1},Et.updateContext=function(e){var t,n=this.type;n.keyword&&e===f.dot?this.exprAllowed=!1:(t=n.updateContext)?t.call(this,e):this.exprAllowed=n.beforeExpr},f.parenR.updateContext=f.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var e=this.context.pop();e===Ce.b_stat&&this.curContext().token==="function"&&(e=this.context.pop()),this.exprAllowed=!e.isExpr},f.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?Ce.b_stat:Ce.b_expr),this.exprAllowed=!0},f.dollarBraceL.updateContext=function(){this.context.push(Ce.b_tmpl),this.exprAllowed=!0},f.parenL.updateContext=function(e){var t=e===f._if||e===f._for||e===f._with||e===f._while;this.context.push(t?Ce.p_stat:Ce.p_expr),this.exprAllowed=!0},f.incDec.updateContext=function(){},f._function.updateContext=f._class.updateContext=function(e){e.beforeExpr&&e!==f.semi&&e!==f._else&&!(e===f._return&&Te.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===f.colon||e===f.braceL)&&this.curContext()===Ce.b_stat)?this.context.push(Ce.f_expr):this.context.push(Ce.f_stat),this.exprAllowed=!1},f.backQuote.updateContext=function(){this.curContext()===Ce.q_tmpl?this.context.pop():this.context.push(Ce.q_tmpl),this.exprAllowed=!1},f.star.updateContext=function(e){if(e===f._function){var t=this.context.length-1;this.context[t]===Ce.f_expr?this.context[t]=Ce.f_expr_gen:this.context[t]=Ce.f_gen}this.exprAllowed=!0},f.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==f.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t},on="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",ln=on+" Extended_Pictographic",or=ln,jr={9:on,10:ln,11:or},Fn="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",cn="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",hn=cn+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",lr=hn+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",Mr={9:cn,10:hn,11:lr},yn={},Jt(9),Jt(10),Jt(11),$=me.prototype,qe=function(e){this.parser=e,this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":""),this.unicodeProperties=yn[e.options.ecmaVersion>=11?11:e.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]},qe.prototype.reset=function(e,t,n){var r=n.indexOf("u")!==-1;this.start=e|0,this.source=t+"",this.flags=n,this.switchU=r&&this.parser.options.ecmaVersion>=6,this.switchN=r&&this.parser.options.ecmaVersion>=9},qe.prototype.raise=function(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)},qe.prototype.at=function(e,t){t===void 0&&(t=!1);var n=this.source,r=n.length;if(e>=r)return-1;var i=n.charCodeAt(e);if(!(t||this.switchU)||i<=55295||i>=57344||e+1>=r)return i;var o=n.charCodeAt(e+1);return o>=56320&&o<=57343?(i<<10)+o-56613888:i},qe.prototype.nextIndex=function(e,t){t===void 0&&(t=!1);var n=this.source,r=n.length;if(e>=r)return r;var i=n.charCodeAt(e),o;return!(t||this.switchU)||i<=55295||i>=57344||e+1>=r||(o=n.charCodeAt(e+1))<56320||o>57343?e+1:e+2},qe.prototype.current=function(e){return e===void 0&&(e=!1),this.at(this.pos,e)},qe.prototype.lookahead=function(e){return e===void 0&&(e=!1),this.at(this.nextIndex(this.pos,e),e)},qe.prototype.advance=function(e){e===void 0&&(e=!1),this.pos=this.nextIndex(this.pos,e)},qe.prototype.eat=function(e,t){return t===void 0&&(t=!1),this.current(t)===e?(this.advance(t),!0):!1},$.validateRegExpFlags=function(e){for(var t=e.validFlags,n=e.flags,r=0;r -1&&this.raise(e.start,"Duplicate regular expression flag")}},$.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))},$.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames.length=0,e.backReferenceNames.length=0,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,n=e.backReferenceNames;t =9&&(n=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!n,!0}return e.pos=t,!1},$.regexp_eatQuantifier=function(e,t){return t===void 0&&(t=!1),this.regexp_eatQuantifierPrefix(e,t)?(e.eat(63),!0):!1},$.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},$.regexp_eatBracedQuantifier=function(e,t){var n=e.pos;if(e.eat(123)){var r=0,i=-1;if(this.regexp_eatDecimalDigits(e)&&(r=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(i=e.lastIntValue),e.eat(125)))return i!==-1&&i =9?this.regexp_groupSpecifier(e):e.current()===63&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1},$.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)},$.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},$.regexp_eatSyntaxCharacter=function(e){var t=e.current();return Xn(t)?(e.lastIntValue=t,e.advance(),!0):!1},$.regexp_eatPatternCharacters=function(e){for(var t=e.pos,n=0;(n=e.current())!==-1&&!Xn(n);)e.advance();return e.pos!==t},$.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124?(e.advance(),!0):!1},$.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e)){e.groupNames.indexOf(e.lastStringValue)!==-1&&e.raise("Duplicate capture group name"),e.groupNames.push(e.lastStringValue);return}e.raise("Invalid group")}},$.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1},$.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=It(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=It(e.lastIntValue);return!0}return!1},$.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,n=this.options.ecmaVersion>=11,r=e.current(n);return e.advance(n),r===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,n)&&(r=e.lastIntValue),Qu(r)?(e.lastIntValue=r,!0):(e.pos=t,!1)},$.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,n=this.options.ecmaVersion>=11,r=e.current(n);return e.advance(n),r===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,n)&&(r=e.lastIntValue),Ku(r)?(e.lastIntValue=r,!0):(e.pos=t,!1)},$.regexp_eatAtomEscape=function(e){return this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)?!0:(e.switchU&&(e.current()===99&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)},$.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var n=e.lastIntValue;if(e.switchU)return n>e.maxBackReference&&(e.maxBackReference=n),!0;if(n<=e.numCapturingParens)return!0;e.pos=t}return!1},$.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1},$.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)},$.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},$.regexp_eatZero=function(e){return e.current()===48&&!Ut(e.lookahead())?(e.lastIntValue=0,e.advance(),!0):!1},$.regexp_eatControlEscape=function(e){var t=e.current();return t===116?(e.lastIntValue=9,e.advance(),!0):t===110?(e.lastIntValue=10,e.advance(),!0):t===118?(e.lastIntValue=11,e.advance(),!0):t===102?(e.lastIntValue=12,e.advance(),!0):t===114?(e.lastIntValue=13,e.advance(),!0):!1},$.regexp_eatControlLetter=function(e){var t=e.current();return Pr(t)?(e.lastIntValue=t%32,e.advance(),!0):!1},$.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){t===void 0&&(t=!1);var n=e.pos,r=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var i=e.lastIntValue;if(r&&i>=55296&&i<=56319){var o=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var s=e.lastIntValue;if(s>=56320&&s<=57343)return e.lastIntValue=(i-55296)*1024+(s-56320)+65536,!0}e.pos=o,e.lastIntValue=i}return!0}if(r&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&Zu(e.lastIntValue))return!0;r&&e.raise("Invalid unicode escape"),e.pos=n}return!1},$.regexp_eatIdentityEscape=function(e){if(e.switchU)return this.regexp_eatSyntaxCharacter(e)?!0:e.eat(47)?(e.lastIntValue=47,!0):!1;var t=e.current();return t!==99&&(!e.switchN||t!==107)?(e.lastIntValue=t,e.advance(),!0):!1},$.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do e.lastIntValue=10*e.lastIntValue+(t-48),e.advance();while((t=e.current())>=48&&t<=57);return!0}return!1},$.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(ei(t))return e.lastIntValue=-1,e.advance(),!0;if(e.switchU&&this.options.ecmaVersion>=9&&(t===80||t===112)){if(e.lastIntValue=-1,e.advance(),e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125))return!0;e.raise("Invalid property name")}return!1},$.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var n=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var r=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,n,r),!0}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var i=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,i),!0}return!1},$.regexp_validateUnicodePropertyNameAndValue=function(e,t,n){qt(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(n)||e.raise("Invalid property value")},$.regexp_validateUnicodePropertyNameOrValue=function(e,t){e.unicodeProperties.binary.test(t)||e.raise("Invalid property name")},$.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";Ir(t=e.current());)e.lastStringValue+=It(t),e.advance();return e.lastStringValue!==""},$.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";ti(t=e.current());)e.lastStringValue+=It(t),e.advance();return e.lastStringValue!==""},$.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},$.regexp_eatCharacterClass=function(e){if(e.eat(91)){if(e.eat(94),this.regexp_classRanges(e),e.eat(93))return!0;e.raise("Unterminated character class")}return!1},$.regexp_classRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var n=e.lastIntValue;e.switchU&&(t===-1||n===-1)&&e.raise("Invalid character class"),t!==-1&&n!==-1&&t>n&&e.raise("Range out of order in character class")}}},$.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var n=e.current();(n===99||Kn(n))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var r=e.current();return r!==93?(e.lastIntValue=r,e.advance(),!0):!1},$.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)},$.regexp_eatClassControlLetter=function(e){var t=e.current();return Ut(t)||t===95?(e.lastIntValue=t%32,e.advance(),!0):!1},$.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1},$.regexp_eatDecimalDigits=function(e){var t=e.pos,n=0;for(e.lastIntValue=0;Ut(n=e.current());)e.lastIntValue=10*e.lastIntValue+(n-48),e.advance();return e.pos!==t},$.regexp_eatHexDigits=function(e){var t=e.pos,n=0;for(e.lastIntValue=0;Hn(n=e.current());)e.lastIntValue=16*e.lastIntValue+Qn(n),e.advance();return e.pos!==t},$.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var n=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=t*64+n*8+e.lastIntValue:e.lastIntValue=t*8+n}else e.lastIntValue=t;return!0}return!1},$.regexp_eatOctalDigit=function(e){var t=e.current();return Kn(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)},$.regexp_eatFixedHexDigits=function(e,t){var n=e.pos;e.lastIntValue=0;for(var r=0;r =this.input.length)return this.finishToken(f.eof);if(e.override)return e.override(this);this.readToken(this.fullCharCodeAtPos())},ue.readToken=function(e){return Ge(e,this.options.ecmaVersion>=6)||e===92?this.readWord():this.getTokenFromCode(e)},ue.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=57344)return e;var t=this.input.charCodeAt(this.pos+1);return(e<<10)+t-56613888},ue.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,n=this.input.indexOf("*/",this.pos+=2);if(n===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=n+2,this.options.locations){et.lastIndex=t;for(var r;(r=et.exec(this.input))&&r.index 8&&e<14||e>=5760&&Wt.test(String.fromCharCode(e)))++this.pos;else break e}}},ue.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var n=this.type;this.type=e,this.value=t,this.updateContext(n)},ue.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&e===46&&t===46?(this.pos+=3,this.finishToken(f.ellipsis)):(++this.pos,this.finishToken(f.dot))},ue.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):e===61?this.finishOp(f.assign,2):this.finishOp(f.slash,1)},ue.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),n=1,r=e===42?f.star:f.modulo;return this.options.ecmaVersion>=7&&e===42&&t===42&&(++n,r=f.starstar,t=this.input.charCodeAt(this.pos+2)),t===61?this.finishOp(f.assign,n+1):this.finishOp(r,n)},ue.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var n=this.input.charCodeAt(this.pos+2);if(n===61)return this.finishOp(f.assign,3)}return this.finishOp(e===124?f.logicalOR:f.logicalAND,2)}return t===61?this.finishOp(f.assign,2):this.finishOp(e===124?f.bitwiseOR:f.bitwiseAND,1)},ue.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);return e===61?this.finishOp(f.assign,2):this.finishOp(f.bitwiseXOR,1)},ue.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||Te.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(f.incDec,2):t===61?this.finishOp(f.assign,2):this.finishOp(f.plusMin,1)},ue.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),n=1;return t===e?(n=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+n)===61?this.finishOp(f.assign,n+1):this.finishOp(f.bitShift,n)):t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(t===61&&(n=2),this.finishOp(f.relational,n))},ue.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return t===61?this.finishOp(f.equality,this.input.charCodeAt(this.pos+2)===61?3:2):e===61&&t===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(f.arrow)):this.finishOp(e===61?f.eq:f.prefix,1)},ue.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var n=this.input.charCodeAt(this.pos+2);if(n<48||n>57)return this.finishOp(f.questionDot,2)}if(t===63){if(e>=12){var r=this.input.charCodeAt(this.pos+2);if(r===61)return this.finishOp(f.assign,3)}return this.finishOp(f.coalesce,2)}}return this.finishOp(f.question,1)},ue.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(f.parenL);case 41:return++this.pos,this.finishToken(f.parenR);case 59:return++this.pos,this.finishToken(f.semi);case 44:return++this.pos,this.finishToken(f.comma);case 91:return++this.pos,this.finishToken(f.bracketL);case 93:return++this.pos,this.finishToken(f.bracketR);case 123:return++this.pos,this.finishToken(f.braceL);case 125:return++this.pos,this.finishToken(f.braceR);case 58:return++this.pos,this.finishToken(f.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(f.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(t===111||t===79)return this.readRadixNumber(8);if(t===98||t===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(f.prefix,1)}this.raise(this.pos,"Unexpected character '"+Xt(e)+"'")},ue.finishOp=function(e,t){var n=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,n)},ue.readRegexp=function(){for(var e,t,n=this.pos;;){this.pos>=this.input.length&&this.raise(n,"Unterminated regular expression");var r=this.input.charAt(this.pos);if(Te.test(r)&&this.raise(n,"Unterminated regular expression"),e)e=!1;else{if(r==="[")t=!0;else if(r==="]"&&t)t=!1;else if(r==="/"&&!t)break;e=r==="\\"}++this.pos}var i=this.input.slice(n,this.pos);++this.pos;var o=this.pos,s=this.readWord1();this.containsEsc&&this.unexpected(o);var l=this.regexpState||(this.regexpState=new qe(this));l.reset(n,i,s),this.validateRegExpFlags(l),this.validateRegExpPattern(l);var p=null;try{p=new RegExp(i,s)}catch{}return this.finishToken(f.regexp,{pattern:i,flags:s,value:p})},ue.readInt=function(e,t,n){for(var r=this.options.ecmaVersion>=12&&t===void 0,i=n&&this.input.charCodeAt(this.pos)===48,o=this.pos,s=0,l=0,p=0,d=t??1/0;p =97?y=D-97+10:D>=65?y=D-65+10:D>=48&&D<=57?y=D-48:y=1/0,y>=e)break;l=D,s=s*e+y}return r&&l===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===o||t!=null&&this.pos-o!==t?null:s},ue.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var n=this.readInt(e);return n==null&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(n=Zn(this.input.slice(t,this.pos)),++this.pos):Ge(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(f.num,n)},ue.readNumber=function(e){var t=this.pos;!e&&this.readInt(10,void 0,!0)===null&&this.raise(t,"Invalid number");var n=this.pos-t>=2&&this.input.charCodeAt(t)===48;n&&this.strict&&this.raise(t,"Invalid number");var r=this.input.charCodeAt(this.pos);if(!n&&!e&&this.options.ecmaVersion>=11&&r===110){var i=Zn(this.input.slice(t,this.pos));return++this.pos,Ge(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(f.num,i)}n&&/[89]/.test(this.input.slice(t,this.pos))&&(n=!1),r===46&&!n&&(++this.pos,this.readInt(10),r=this.input.charCodeAt(this.pos)),(r===69||r===101)&&!n&&(r=this.input.charCodeAt(++this.pos),(r===43||r===45)&&++this.pos,this.readInt(10)===null&&this.raise(t,"Invalid number")),Ge(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var o=ni(this.input.slice(t,this.pos),n);return this.finishToken(f.num,o)},ue.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){this.options.ecmaVersion<6&&this.unexpected();var n=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(n,"Code point out of bounds")}else t=this.readHexChar(4);return t},ue.readString=function(e){for(var t="",n=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var r=this.input.charCodeAt(this.pos);if(r===e)break;r===92?(t+=this.input.slice(n,this.pos),t+=this.readEscapedChar(!1),n=this.pos):(ot(r,this.options.ecmaVersion>=10)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(n,this.pos++),this.finishToken(f.string,t)},pn={},ue.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===pn)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1},ue.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw pn;this.raise(e,t)},ue.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var n=this.input.charCodeAt(this.pos);if(n===96||n===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===f.template||this.type===f.invalidTemplate)?n===36?(this.pos+=2,this.finishToken(f.dollarBraceL)):(++this.pos,this.finishToken(f.backQuote)):(e+=this.input.slice(t,this.pos),this.finishToken(f.template,e));if(n===92)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(ot(n)){switch(e+=this.input.slice(t,this.pos),++this.pos,n){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:e+=` `;break;default:e+=String.fromCharCode(n);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},ue.readInvalidTemplateToken=function(){for(;this.pos ")}else Kr(B,v,n,T,E)||(k+=" "),k+="/>";return k},ps="",Cr="React.Fragment",fs=function(e,t,n){var r={};return t&&(r={key:t}),{type:"ReactElement",displayName:e,props:r,defaultProps:{},childrens:n}},ds=function(e){var t=e.key;return!!t},As=function(e){var t=e.childrens;return t.length===0},Ds=function(e,t,n,r){var i=e.type,o=e.key,s=e.childrens;if(i!=="ReactFragment")throw new Error('The "formatReactFragmentNode" function could only format node of type "ReactFragment". Given: '.concat(i));var l=r.useFragmentShortSyntax,p;return l?As(e)||ds(e)?p=Cr:p=ps:p=Cr,Zr(fs(p,o,s),t,n,r)},ms=["<",">","{","}"],Cs=function(e){return ms.some(function(t){return e.includes(t)})},Es=function(e){return Cs(e)?"{`".concat(e,"`}"):e},gs=function(e){var t=e;return t.endsWith(" ")&&(t=t.replace(/^(.*?)(\s+)$/,"$1{'$2'}")),t.startsWith(" ")&&(t=t.replace(/^(\s+)(.*)$/,"{'$1'}$2")),t},$t=function(e,t,n,r){if(e.type==="number")return String(e.value);if(e.type==="string")return e.value?"".concat(gs(Es(String(e.value)))):"";if(e.type==="ReactElement")return Zr(e,t,n,r);if(e.type==="ReactFragment")return Ds(e,t,n,r);throw new TypeError('Unknow format type "'.concat(e.type,'"'))},Fs=function(e,t){return $t(e,!1,0,t)},eu=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.filterProps,r=n===void 0?[]:n,i=t.showDefaultProps,o=i===void 0?!0:i,s=t.showFunctions,l=s===void 0?!1:s,p=t.functionValue,d=t.tabStop,D=d===void 0?2:d,y=t.useBooleanShorthandSyntax,C=y===void 0?!0:y,E=t.useFragmentShortSyntax,m=E===void 0?!0:E,g=t.sortProps,T=g===void 0?!0:g,k=t.maxInlineAttributesLineLength,v=t.displayName;if(!e)throw new Error("react-element-to-jsx-string: Expected a ReactElement");var R={filterProps:r,showDefaultProps:o,showFunctions:l,functionValue:p,tabStop:D,useBooleanShorthandSyntax:C,useFragmentShortSyntax:m,sortProps:T,maxInlineAttributesLineLength:k,displayName:v};return Fs(Nn(e,R),R)},Er=eu;function tu(e){return e.$$typeof!=null}function nu(e,t){let{name:n}=e;return n!==""&&n!=="anonymous"&&n!==t?n:null}var ys=e=>De(JSON.stringify(e));function xs(e){let{type:t}=e,{displayName:n}=t,r=Er(e,{});if(n!=null){let i=Gt(n);return De(i,r)}if(Ri(t)&&In(t)){let i=Er(e,{tabStop:0}).replace(/\r?\n|\r/g,"");if(!_t(i))return De(i)}return De(dt,r)}var Bs=e=>{if(tu(e)&&e.type!=null)return xs(e);if(Li(e)){let t=Xe(JSON.stringify(e));return $r(t)}if(Array.isArray(e)){let t=Xe(JSON.stringify(e));return Gr(t)}return De(bt)},vs=(e,t)=>{let n=!1,r;if(fr(e.render))n=!0;else if(e.prototype!=null&&fr(e.prototype.render))n=!0;else{let o;try{r=Xe(e.toString());let{hasParams:s,params:l}=r.inferredType;s?l.length===1&&l[0].type==="ObjectPattern"&&(o=e({})):o=e(),o!=null&&tu(o)&&(n=!0)}catch{}}let i=nu(e,t.name);if(i!=null){if(n)return De(Gt(i));r!=null&&(r=Xe(e.toString()));let{hasParams:o}=r.inferredType;return De(Ln(i,o))}return De(n?dt:ht)},_s=e=>De(e.toString()),ru={string:ys,object:Bs,function:vs,default:_s};function Ss(e={}){return{...ru,...e}}function bs(e,t,n=ru){try{switch(typeof e){case"string":return n.string(e,t);case"object":return n.object(e,t);case"function":return n.function(e,t);default:return n.default(e,t)}}catch(r){console.error(r)}return null}function ws(e,t){let n=e!=null,r=t!=null;if(!n&&!r)return"";let i=[];if(n){let o=e.map(s=>{let l=s.getPrettyName(),p=s.getTypeName();return p!=null?`${l}: ${p}`:l});i.push(`(${o.join(", ")})`)}else i.push("()");return r&&i.push(`=> ${t.getTypeName()}`),i.join(" ")}function Ts(e,t){let n=e!=null,r=t!=null;if(!n&&!r)return"";let i=[];return n?i.push("( ... )"):i.push("()"),r&&i.push(`=> ${t.getTypeName()}`),i.join(" ")}function ks(e){return e.replace(/,/g,`,\r `)}var Ps=150;function Se({name:e,short:t,compact:n,full:r,inferredType:i}){return{name:e,short:t,compact:n,full:r??t,inferredType:i}}function uu(e){return e.replace(/PropTypes./g,"").replace(/.isRequired/g,"")}function gr(e){return e.split(/\r?\n/)}function zt(e,t=!1){return uu(_n(e,t))}function Fr(e,t=!1){return uu(Je(e,t))}function Is(e){switch(e){case"Object":return bt;case"Array":return Pn;case"Class":return hi;case"Function":return ht;case"Element":return dt;default:return vn}}function iu(e,t){let{inferredType:n,ast:r}=Xe(e),{type:i}=n,o,s,l;switch(i){case"Identifier":case"Literal":o=e,s=e;break;case"Object":{let{depth:p}=n;o=bt,s=p===1?zt(r,!0):null,l=zt(r);break}case"Element":{let{identifier:p}=n;o=p!=null&&!In(p)?p:dt,s=gr(e).length===1?e:null,l=e;break}case"Array":{let{depth:p}=n;o=Pn,s=p<=2?Fr(r,!0):null,l=Fr(r);break}default:o=Is(i),s=gr(e).length===1?e:null,l=e;break}return Se({name:t,short:o,compact:s,full:l,inferredType:i})}function Os({raw:e}){return e!=null?iu(e,"custom"):Se({name:"custom",short:vn,compact:vn})}function Rs(e){let{jsDocTags:t}=e;return t!=null&&(t.params!=null||t.returns!=null)?Se({name:"func",short:Ts(t.params,t.returns),compact:null,full:ws(t.params,t.returns)}):Se({name:"func",short:ht,compact:ht})}function Ls(e,t){let n=Object.keys(e.value).map(s=>`${s}: ${pt(e.value[s],t).full}`).join(", "),{inferredType:r,ast:i}=Xe(`{ ${n} }`),{depth:o}=r;return Se({name:"shape",short:bt,compact:o===1&&i?zt(i,!0):null,full:i?zt(i):null})}function fn(e){return`objectOf(${e})`}function Ns(e,t){let{short:n,compact:r,full:i}=pt(e.value,t);return Se({name:"objectOf",short:fn(n),compact:r!=null?fn(r):null,full:i&&fn(i)})}function js(e,t){if(Array.isArray(e.value)){let n=e.value.reduce((r,i)=>{let{short:o,compact:s,full:l}=pt(i,t);return r.short.push(o),r.compact.push(s),r.full.push(l),r},{short:[],compact:[],full:[]});return Se({name:"union",short:n.short.join(" | "),compact:n.compact.every(r=>r!=null)?n.compact.join(" | "):null,full:n.full.join(" | ")})}return Se({name:"union",short:e.value,compact:null})}function Ms({value:e,computed:t}){return t?iu(e,"enumvalue"):Se({name:"enumvalue",short:e,compact:e})}function Vs(e){if(Array.isArray(e.value)){let t=e.value.reduce((n,r)=>{let{short:i,compact:o,full:s}=Ms(r);return n.short.push(i),n.compact.push(o),n.full.push(s),n},{short:[],compact:[],full:[]});return Se({name:"enum",short:t.short.join(" | "),compact:t.compact.every(n=>n!=null)?t.compact.join(" | "):null,full:t.full.join(" | ")})}return Se({name:"enum",short:e.value,compact:e.value})}function wn(e){return`${e}[]`}function yr(e){return`[${e}]`}function xr(e,t,n){return Se({name:"arrayOf",short:wn(e),compact:t!=null?yr(t):null,full:n&&yr(n)})}function qs(e,t){let{name:n,short:r,compact:i,full:o,inferredType:s}=pt(e.value,t);if(n==="custom"){if(s==="Object")return xr(r,i,o)}else if(n==="shape")return xr(r,i,o);return Se({name:"arrayOf",short:wn(r),compact:wn(r)})}function pt(e,t){try{switch(e.name){case"custom":return Os(e);case"func":return Rs(t);case"shape":return Ls(e,t);case"instanceOf":return Se({name:"instanceOf",short:e.value,compact:e.value});case"objectOf":return Ns(e,t);case"union":return js(e,t);case"enum":return Vs(e);case"arrayOf":return qs(e,t);default:return Se({name:e.name,short:e.name,compact:e.name})}}catch(n){console.error(n)}return Se({name:"unknown",short:"unknown",compact:"unknown"})}function Us(e){let{type:t}=e.docgenInfo;if(t==null)return null;try{switch(t.name){case"custom":case"shape":case"instanceOf":case"objectOf":case"union":case"enum":case"arrayOf":{let{short:n,compact:r,full:i}=pt(t,e);return r!=null&&!vu(r)?De(r):i?De(n,i):De(n)}case"func":{let{short:n,full:r}=pt(t,e),i=n,o;return r&&r.length {let r=(n==null?void 0:n.summary)==="element"||(n==null?void 0:n.summary)==="elementType",i=nu(e,t);if(i!=null){if(r)return De(Gt(i));let{hasParams:o}=Xe(e.toString()).inferredType;return De(Ln(i,o))}return De(r?dt:ht)},zs=Ss({function:Ws});function Gs(e,t){let{propTypes:n}=t;return n!=null?Object.keys(n).map(r=>e.find(i=>i.name===r)).filter(Boolean):e}function $s(e,t){let{propDef:n}=e,r=Us(e);r!=null&&(n.type=r);let{defaultValue:i}=e.docgenInfo;if(i!=null&&i.value!=null){let o=Jr(i.value);o!=null&&(n.defaultValue=o)}else if(t!=null){let o=bs(t,n,zs);o!=null&&(n.defaultValue=o)}return n}function Ys(e,t){let n=t.defaultProps!=null?t.defaultProps:{},r=e.map(i=>$s(i,n[i.propDef.name]));return Gs(r,t)}function Js(e,t){let{propDef:n}=e,{defaultValue:r}=e.docgenInfo;if(r!=null&&r.value!=null){let i=Jr(r.value);i!=null&&(n.defaultValue=i)}return n}function Xs(e){return e.map(t=>Js(t))}var Br=new Map;Object.keys(cr.default).forEach(e=>{let t=cr.default[e];Br.set(t,e),Br.set(t.isRequired,e)});function Hs(e,t){let n=e;!xu(e)&&!e.propTypes&&qr(e)&&(n=e.type);let r=Bu(n,t);if(r.length===0)return[];switch(r[0].typeSystem){case $n.JAVASCRIPT:return Ys(r,e);case $n.TYPESCRIPT:return Xs(r);default:return r.map(i=>i.propDef)}}var Qs=e=>({rows:Hs(e,"props")}),Ks=e=>{if(e){let{rows:t}=Qs(e);if(t)return t.reduce((n,r)=>{let{name:i,description:o,type:s,sbType:l,defaultValue:p,jsDocTags:d,required:D}=r;return n[i]={name:i,description:o,type:{required:D,...l},table:{type:s??void 0,jsDocTags:d,defaultValue:p??void 0}},n},{})}return null},dn=eu,Zs=e=>e.charAt(0).toUpperCase()+e.slice(1),ea=e=>(e.$$typeof||e).toString().replace(/^Symbol\((.*)\)$/,"$1").split(".").map(t=>t.split("_").map(Zs).join("")).join(".");function Tn(e){if(tt.isValidElement(e)){let t=Object.keys(e.props).reduce((n,r)=>(n[r]=Tn(e.props[r]),n),{});return{...e,props:t,_owner:null}}return Array.isArray(e)?e.map(Tn):e}var ta=(e,t)=>{if(typeof e>"u")return kt.warn("Too many skip or undefined component"),null;let n=e,r=n.type;for(let s=0;s<(t==null?void 0:t.skip);s+=1){if(typeof n>"u")return kt.warn("Cannot skip undefined element"),null;if(yt.Children.count(n)>1)return kt.warn("Trying to skip an array of elements"),null;typeof n.props.children>"u"?(kt.warn("Not enough children to skip elements."),typeof n.type=="function"&&n.type.name===""&&(n=yt.createElement(r,{...n.props}))):typeof n.props.children=="function"?n=n.props.children():n=n.props.children}let i;typeof(t==null?void 0:t.displayName)=="string"?i={showFunctions:!0,displayName:()=>t.displayName}:i={displayName:s=>{var l;return s.type.displayName?s.type.displayName:Yn(s.type,"displayName")?Yn(s.type,"displayName"):(l=s.type.render)!=null&&l.displayName?s.type.render.displayName:typeof s.type=="symbol"||s.type.$$typeof&&typeof s.type.$$typeof=="symbol"?ea(s.type):s.type.name&&s.type.name!=="_default"?s.type.name:typeof s.type=="function"?"No Display Name":gi(s.type)?s.type.render.name:qr(s.type)?s.type.type.name:s.type}};let o={...i,filterProps:(s,l)=>s!==void 0,...t};return yt.Children.map(e,s=>{let l=typeof s=="number"?s.toString():s,p=(typeof dn=="function"?dn:dn.default)(Tn(l),o);if(p.indexOf(""")>-1){let d=p.match(/\S+=\\"([^"]*)\\"/g);d&&d.forEach(D=>{p=p.replace(D,D.replace(/"/g,"'"))})}return p}).join(` -`).replace(/function\s+noRefCheck\(\)\s*\{\}/g,"() => {}")},na={skip:0,showFunctions:!1,enableBeautify:!0,showDefaultProps:!1},ra=e=>{var r;let t=(r=e==null?void 0:e.parameters.docs)==null?void 0:r.source,n=e==null?void 0:e.parameters.__isArgsStory;return(t==null?void 0:t.type)===Gn.DYNAMIC?!1:!n||(t==null?void 0:t.code)||(t==null?void 0:t.type)===Gn.CODE},ua=e=>{var t,n;return((t=e.type)==null?void 0:t.displayName)==="MDXCreateElement"&&!!((n=e.props)!=null&&n.mdxType)},su=e=>{if(!ua(e))return e;let{mdxType:t,originalType:n,children:r,...i}=e.props,o=[];return r&&(o=(Array.isArray(r)?r:[r]).map(su)),tt.createElement(n,i,...o)},au=(e,t)=>{var D,y;let n=Su.getChannel(),r=ra(t),i="";bu(()=>{if(!r){let{id:C,unmappedArgs:E}=t;n.emit(gu,{id:C,source:i,args:E})}});let o=e();if(r)return o;let s={...na,...(t==null?void 0:t.parameters.jsx)||{}},l=(y=(D=t==null?void 0:t.parameters.docs)==null?void 0:D.source)!=null&&y.excludeDecorators?t.originalStoryFn(t.args,t):o,p=su(l),d=ta(p,s);return d&&(i=d),o},la=(e,t)=>{let n=t.findIndex(i=>i.originalFn===au),r=n===-1?t:[...t.splice(n,1),...t];return _u(e,r)},ca={docs:{story:{inline:!0},extractArgTypes:Ks,extractComponentDescription:yu}},ha=[au],pa=[Fu];export{la as applyDecorators,pa as argTypesEnhancers,ha as decorators,ca as parameters}; +`).replace(/function\s+noRefCheck\(\)\s*\{\}/g,"() => {}")},na={skip:0,showFunctions:!1,enableBeautify:!0,showDefaultProps:!1},ra=e=>{var r;let t=(r=e==null?void 0:e.parameters.docs)==null?void 0:r.source,n=e==null?void 0:e.parameters.__isArgsStory;return(t==null?void 0:t.type)===Gn.DYNAMIC?!1:!n||(t==null?void 0:t.code)||(t==null?void 0:t.type)===Gn.CODE},ua=e=>{var t,n;return((t=e.type)==null?void 0:t.displayName)==="MDXCreateElement"&&!!((n=e.props)!=null&&n.mdxType)},su=e=>{if(!ua(e))return e;let{mdxType:t,originalType:n,children:r,...i}=e.props,o=[];return r&&(o=(Array.isArray(r)?r:[r]).map(su)),tt.createElement(n,i,...o)},au=(e,t)=>{var D,y;let n=Su.getChannel(),r=ra(t),i="";bu(()=>{if(!r){let{id:C,unmappedArgs:E}=t;n.emit(yu,{id:C,source:i,args:E})}});let o=e();if(r)return o;let s={...na,...(t==null?void 0:t.parameters.jsx)||{}},l=(y=(D=t==null?void 0:t.parameters.docs)==null?void 0:D.source)!=null&&y.excludeDecorators?t.originalStoryFn(t.args,t):o,p=su(l),d=ta(p,s);return d&&(i=d),o},la=(e,t)=>{let n=t.findIndex(i=>i.originalFn===au),r=n===-1?t:[...t.splice(n,1),...t];return _u(e,r)},ca={docs:{story:{inline:!0},extractArgTypes:Ks,extractComponentDescription:gu}},ha=[au],pa=[Fu];export{la as applyDecorators,pa as argTypesEnhancers,ha as decorators,ca as parameters}; diff --git a/demo-DES-998-multiple-terms/assets/entry-preview-B8A2eQQq.js b/demo-DES-998-multiple-terms/assets/entry-preview-mZX5SSHd.js similarity index 99% rename from demo-DES-998-multiple-terms/assets/entry-preview-B8A2eQQq.js rename to demo-DES-998-multiple-terms/assets/entry-preview-mZX5SSHd.js index 8189ca9905..7224d44bbc 100644 --- a/demo-DES-998-multiple-terms/assets/entry-preview-B8A2eQQq.js +++ b/demo-DES-998-multiple-terms/assets/entry-preview-mZX5SSHd.js @@ -1,5 +1,5 @@ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./react-18-Dbhu8A1k.js","./index-B-o1Wr-g.js","./_commonjsHelpers-Cpj98o6Y.js","./index-DolzVqEf.js"])))=>i.map(i=>d[i]); -import{_ as tr}from"./iframe-spVqZGXB.js";import{_ as sr,a as L,d as nr}from"./chunk-XP5HYGXS-CzPF9ozp.js";import{r as Y,R as re}from"./index-B-o1Wr-g.js";import{r as ar}from"./index-DolzVqEf.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-Cpj98o6Y.js";var b={};/** +import{_ as tr}from"./iframe-Cvsd4EMb.js";import{_ as sr,a as nr,b as L}from"./chunk-XP5HYGXS-BGCqD1aY.js";import{r as Y,R as re}from"./index-B-o1Wr-g.js";import{r as ar}from"./index-DolzVqEf.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-Cpj98o6Y.js";var b={};/** * @license React * react-dom-test-utils.production.min.js * @@ -7,4 +7,4 @@ import{_ as tr}from"./iframe-spVqZGXB.js";import{_ as sr,a as L,d as nr}from"./c * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var K=Y,ye=ar;function Ve(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(r=t.return),e=t.return;while(e)}return t.tag===3?r:null}function Fe(e){if(Ve(e)!==e)throw Error("Unable to find node on an unmounted component.")}function ir(e){var t=e.alternate;if(!t){if(t=Ve(e),t===null)throw Error("Unable to find node on an unmounted component.");return t!==e?null:e}for(var r=e,n=t;;){var o=r.return;if(o===null)break;var a=o.alternate;if(a===null){if(n=o.return,n!==null){r=n;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===r)return Fe(o),e;if(a===n)return Fe(o),t;a=a.sibling}throw Error("Unable to find node on an unmounted component.")}if(r.return!==n.return)r=o,n=a;else{for(var l=!1,h=o.child;h;){if(h===r){l=!0,r=o,n=a;break}if(h===n){l=!0,n=o,r=a;break}h=h.sibling}if(!l){for(h=a.child;h;){if(h===r){l=!0,r=a,n=o;break}if(h===n){l=!0,n=a,r=o;break}h=h.sibling}if(!l)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(r.alternate!==n)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(r.tag!==3)throw Error("Unable to find node on an unmounted component.");return r.stateNode.current===r?e:t}var F=Object.assign;function _e(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function ie(){return!0}function qe(){return!1}function q(e){function t(r,n,o,a,l){this._reactName=r,this._targetInst=o,this.type=n,this.nativeEvent=a,this.target=l,this.currentTarget=null;for(var h in e)e.hasOwnProperty(h)&&(r=e[h],this[h]=r?r(a):a[h]);return this.isDefaultPrevented=(a.defaultPrevented!=null?a.defaultPrevented:a.returnValue===!1)?ie:qe,this.isPropagationStopped=qe,this}return F(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=ie)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=ie)},persist:function(){},isPersistent:ie}),t}var z={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},or=q(z),se=F({},z,{view:0,detail:0});q(se);var Le,we,ee,pe=F({},se,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ae,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ee&&(ee&&e.type==="mousemove"?(Le=e.screenX-ee.screenX,we=e.screenY-ee.screenY):we=Le=0,ee=e),Le)},movementY:function(e){return"movementY"in e?e.movementY:we}});q(pe);var lr=F({},pe,{dataTransfer:0});q(lr);var ur=F({},se,{relatedTarget:0});q(ur);var pr=F({},z,{animationName:0,elapsedTime:0,pseudoElement:0});q(pr);var cr=F({},z,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}});q(cr);var mr=F({},z,{data:0});q(mr);var hr={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},dr={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},fr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Er(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=fr[e])?!!t[e]:!1}function Ae(){return Er}var vr=F({},se,{key:function(e){if(e.key){var t=hr[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=_e(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?dr[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ae,charCode:function(e){return e.type==="keypress"?_e(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?_e(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}});q(vr);var Rr=F({},pe,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0});q(Rr);var gr=F({},se,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ae});q(gr);var Ir=F({},z,{propertyName:0,elapsedTime:0,pseudoElement:0});q(Ir);var $r=F({},pe,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0});q($r);function _r(e,t,r,n,o,a,l,h,s){var i=Array.prototype.slice.call(arguments,3);try{t.apply(r,i)}catch(I){this.onError(I)}}var te=!1,le=null,ue=!1,Oe=null,Lr={onError:function(e){te=!0,le=e}};function wr(e,t,r,n,o,a,l,h,s){te=!1,le=null,_r.apply(Lr,arguments)}function Tr(e,t,r,n,o,a,l,h,s){if(wr.apply(this,arguments),te){if(te){var i=le;te=!1,le=null}else throw Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.");ue||(ue=!0,Oe=i)}}var Ce=Array.isArray,ne=ye.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events,Nr=ne[0],Or=ne[1],Sr=ne[2],yr=ne[3],Ar=ne[4],Cr=K.unstable_act;function xr(){}function Dr(e,t){if(!e)return[];if(e=ir(e),!e)return[];for(var r=e,n=[];;){if(r.tag===5||r.tag===6||r.tag===1||r.tag===0){var o=r.stateNode;t(o)&&n.push(o)}if(r.child)r.child.return=r,r=r.child;else{if(r===e)return n;for(;!r.sibling;){if(!r.return||r.return===e)return n;r=r.return}r.sibling.return=r.return,r=r.sibling}}}function H(e,t){if(e&&!e._reactInternals){var r=String(e);throw e=Ce(e)?"an array":e&&e.nodeType===1&&e.tagName?"a DOM node":r==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":r,Error(t+"(...): the first argument must be a React class instance. Instead received: "+(e+"."))}}function ce(e){return!(!e||e.nodeType!==1||!e.tagName)}function xe(e){return ce(e)?!1:e!=null&&typeof e.render=="function"&&typeof e.setState=="function"}function Ye(e,t){return xe(e)?e._reactInternals.type===t:!1}function me(e,t){return H(e,"findAllInRenderedTree"),e?Dr(e._reactInternals,t):[]}function We(e,t){return H(e,"scryRenderedDOMComponentsWithClass"),me(e,function(r){if(ce(r)){var n=r.className;typeof n!="string"&&(n=r.getAttribute("class")||"");var o=n.split(/\s+/);if(!Ce(t)){if(t===void 0)throw Error("TestUtils.scryRenderedDOMComponentsWithClass expects a className as a second argument.");t=t.split(/\s+/)}return t.every(function(a){return o.indexOf(a)!==-1})}return!1})}function He(e,t){return H(e,"scryRenderedDOMComponentsWithTag"),me(e,function(r){return ce(r)&&r.tagName.toUpperCase()===t.toUpperCase()})}function Be(e,t){return H(e,"scryRenderedComponentsWithType"),me(e,function(r){return Ye(r,t)})}function Ge(e,t,r){var n=e.type||"unknown-event";e.currentTarget=Or(r),Tr(n,t,void 0,e),e.currentTarget=null}function Ke(e,t,r){for(var n=[];e;){n.push(e);do e=e.return;while(e&&e.tag!==5);e=e||null}for(e=n.length;0 console.error("SEMVER",...n):()=>{};t.exports=r}}),ae=L({"../../node_modules/semver/internal/re.js"(e,t){var{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:n,MAX_LENGTH:o}=he(),a=de();e=t.exports={};var l=e.re=[],h=e.safeRe=[],s=e.src=[],i=e.t={},I=0,u="[a-zA-Z0-9-]",c=[["\\s",1],["\\d",o],[u,n]],m=f=>{for(let[T,N]of c)f=f.split(`${T}*`).join(`${T}{0,${N}}`).split(`${T}+`).join(`${T}{1,${N}}`);return f},p=(f,T,N)=>{let S=m(T),x=I++;a(f,x,T),i[f]=x,s[x]=T,l[x]=new RegExp(T,N?"g":void 0),h[x]=new RegExp(S,N?"g":void 0)};p("NUMERICIDENTIFIER","0|[1-9]\\d*"),p("NUMERICIDENTIFIERLOOSE","\\d+"),p("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${u}*`),p("MAINVERSION",`(${s[i.NUMERICIDENTIFIER]})\\.(${s[i.NUMERICIDENTIFIER]})\\.(${s[i.NUMERICIDENTIFIER]})`),p("MAINVERSIONLOOSE",`(${s[i.NUMERICIDENTIFIERLOOSE]})\\.(${s[i.NUMERICIDENTIFIERLOOSE]})\\.(${s[i.NUMERICIDENTIFIERLOOSE]})`),p("PRERELEASEIDENTIFIER",`(?:${s[i.NUMERICIDENTIFIER]}|${s[i.NONNUMERICIDENTIFIER]})`),p("PRERELEASEIDENTIFIERLOOSE",`(?:${s[i.NUMERICIDENTIFIERLOOSE]}|${s[i.NONNUMERICIDENTIFIER]})`),p("PRERELEASE",`(?:-(${s[i.PRERELEASEIDENTIFIER]}(?:\\.${s[i.PRERELEASEIDENTIFIER]})*))`),p("PRERELEASELOOSE",`(?:-?(${s[i.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${s[i.PRERELEASEIDENTIFIERLOOSE]})*))`),p("BUILDIDENTIFIER",`${u}+`),p("BUILD",`(?:\\+(${s[i.BUILDIDENTIFIER]}(?:\\.${s[i.BUILDIDENTIFIER]})*))`),p("FULLPLAIN",`v?${s[i.MAINVERSION]}${s[i.PRERELEASE]}?${s[i.BUILD]}?`),p("FULL",`^${s[i.FULLPLAIN]}$`),p("LOOSEPLAIN",`[v=\\s]*${s[i.MAINVERSIONLOOSE]}${s[i.PRERELEASELOOSE]}?${s[i.BUILD]}?`),p("LOOSE",`^${s[i.LOOSEPLAIN]}$`),p("GTLT","((?:<|>)?=?)"),p("XRANGEIDENTIFIERLOOSE",`${s[i.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),p("XRANGEIDENTIFIER",`${s[i.NUMERICIDENTIFIER]}|x|X|\\*`),p("XRANGEPLAIN",`[v=\\s]*(${s[i.XRANGEIDENTIFIER]})(?:\\.(${s[i.XRANGEIDENTIFIER]})(?:\\.(${s[i.XRANGEIDENTIFIER]})(?:${s[i.PRERELEASE]})?${s[i.BUILD]}?)?)?`),p("XRANGEPLAINLOOSE",`[v=\\s]*(${s[i.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[i.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[i.XRANGEIDENTIFIERLOOSE]})(?:${s[i.PRERELEASELOOSE]})?${s[i.BUILD]}?)?)?`),p("XRANGE",`^${s[i.GTLT]}\\s*${s[i.XRANGEPLAIN]}$`),p("XRANGELOOSE",`^${s[i.GTLT]}\\s*${s[i.XRANGEPLAINLOOSE]}$`),p("COERCEPLAIN",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?`),p("COERCE",`${s[i.COERCEPLAIN]}(?:$|[^\\d])`),p("COERCEFULL",s[i.COERCEPLAIN]+`(?:${s[i.PRERELEASE]})?(?:${s[i.BUILD]})?(?:$|[^\\d])`),p("COERCERTL",s[i.COERCE],!0),p("COERCERTLFULL",s[i.COERCEFULL],!0),p("LONETILDE","(?:~>?)"),p("TILDETRIM",`(\\s*)${s[i.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",p("TILDE",`^${s[i.LONETILDE]}${s[i.XRANGEPLAIN]}$`),p("TILDELOOSE",`^${s[i.LONETILDE]}${s[i.XRANGEPLAINLOOSE]}$`),p("LONECARET","(?:\\^)"),p("CARETTRIM",`(\\s*)${s[i.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",p("CARET",`^${s[i.LONECARET]}${s[i.XRANGEPLAIN]}$`),p("CARETLOOSE",`^${s[i.LONECARET]}${s[i.XRANGEPLAINLOOSE]}$`),p("COMPARATORLOOSE",`^${s[i.GTLT]}\\s*(${s[i.LOOSEPLAIN]})$|^$`),p("COMPARATOR",`^${s[i.GTLT]}\\s*(${s[i.FULLPLAIN]})$|^$`),p("COMPARATORTRIM",`(\\s*)${s[i.GTLT]}\\s*(${s[i.LOOSEPLAIN]}|${s[i.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",p("HYPHENRANGE",`^\\s*(${s[i.XRANGEPLAIN]})\\s+-\\s+(${s[i.XRANGEPLAIN]})\\s*$`),p("HYPHENRANGELOOSE",`^\\s*(${s[i.XRANGEPLAINLOOSE]})\\s+-\\s+(${s[i.XRANGEPLAINLOOSE]})\\s*$`),p("STAR","(<|>)?=?\\s*\\*"),p("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),p("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),De=L({"../../node_modules/semver/internal/parse-options.js"(e,t){var r=Object.freeze({loose:!0}),n=Object.freeze({}),o=a=>a?typeof a!="object"?r:a:n;t.exports=o}}),Je=L({"../../node_modules/semver/internal/identifiers.js"(e,t){var r=/^[0-9]+$/,n=(a,l)=>{let h=r.test(a),s=r.test(l);return h&&s&&(a=+a,l=+l),a===l?0:h&&!s?-1:s&&!h?1:a n(l,a);t.exports={compareIdentifiers:n,rcompareIdentifiers:o}}}),U=L({"../../node_modules/semver/classes/semver.js"(e,t){var r=de(),{MAX_LENGTH:n,MAX_SAFE_INTEGER:o}=he(),{safeRe:a,t:l}=ae(),h=De(),{compareIdentifiers:s}=Je(),i=class V{constructor(u,c){if(c=h(c),u instanceof V){if(u.loose===!!c.loose&&u.includePrerelease===!!c.includePrerelease)return u;u=u.version}else if(typeof u!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof u}".`);if(u.length>n)throw new TypeError(`version is longer than ${n} characters`);r("SemVer",u,c),this.options=c,this.loose=!!c.loose,this.includePrerelease=!!c.includePrerelease;let m=u.trim().match(c.loose?a[l.LOOSE]:a[l.FULL]);if(!m)throw new TypeError(`Invalid Version: ${u}`);if(this.raw=u,this.major=+m[1],this.minor=+m[2],this.patch=+m[3],this.major>o||this.major<0)throw new TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw new TypeError("Invalid patch version");m[4]?this.prerelease=m[4].split(".").map(p=>{if(/^[0-9]+$/.test(p)){let f=+p;if(f>=0&&f =0;)typeof this.prerelease[f]=="number"&&(this.prerelease[f]++,f=-2);if(f===-1){if(c===this.prerelease.join(".")&&m===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(p)}}if(c){let f=[c,p];m===!1&&(f=[c]),s(this.prerelease[0],c)===0?isNaN(this.prerelease[1])&&(this.prerelease=f):this.prerelease=f}break}default:throw new Error(`invalid increment argument: ${u}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};t.exports=i}}),Z=L({"../../node_modules/semver/functions/parse.js"(e,t){var r=U(),n=(o,a,l=!1)=>{if(o instanceof r)return o;try{return new r(o,a)}catch(h){if(!l)return null;throw h}};t.exports=n}}),Fr=L({"../../node_modules/semver/functions/valid.js"(e,t){var r=Z(),n=(o,a)=>{let l=r(o,a);return l?l.version:null};t.exports=n}}),qr=L({"../../node_modules/semver/functions/clean.js"(e,t){var r=Z(),n=(o,a)=>{let l=r(o.trim().replace(/^[=v]+/,""),a);return l?l.version:null};t.exports=n}}),Gr=L({"../../node_modules/semver/functions/inc.js"(e,t){var r=U(),n=(o,a,l,h,s)=>{typeof l=="string"&&(s=h,h=l,l=void 0);try{return new r(o instanceof r?o.version:o,l).inc(a,h,s).version}catch{return null}};t.exports=n}}),Mr=L({"../../node_modules/semver/functions/diff.js"(e,t){var r=Z(),n=(o,a)=>{let l=r(o,null,!0),h=r(a,null,!0),s=l.compare(h);if(s===0)return null;let i=s>0,I=i?l:h,u=i?h:l,c=!!I.prerelease.length;if(u.prerelease.length&&!c)return!u.patch&&!u.minor?"major":I.patch?"patch":I.minor?"minor":"major";let m=c?"pre":"";return l.major!==h.major?m+"major":l.minor!==h.minor?m+"minor":l.patch!==h.patch?m+"patch":"prerelease"};t.exports=n}}),Xr=L({"../../node_modules/semver/functions/major.js"(e,t){var r=U(),n=(o,a)=>new r(o,a).major;t.exports=n}}),Vr=L({"../../node_modules/semver/functions/minor.js"(e,t){var r=U(),n=(o,a)=>new r(o,a).minor;t.exports=n}}),Yr=L({"../../node_modules/semver/functions/patch.js"(e,t){var r=U(),n=(o,a)=>new r(o,a).patch;t.exports=n}}),Wr=L({"../../node_modules/semver/functions/prerelease.js"(e,t){var r=Z(),n=(o,a)=>{let l=r(o,a);return l&&l.prerelease.length?l.prerelease:null};t.exports=n}}),M=L({"../../node_modules/semver/functions/compare.js"(e,t){var r=U(),n=(o,a,l)=>new r(o,l).compare(new r(a,l));t.exports=n}}),Hr=L({"../../node_modules/semver/functions/rcompare.js"(e,t){var r=M(),n=(o,a,l)=>r(a,o,l);t.exports=n}}),Br=L({"../../node_modules/semver/functions/compare-loose.js"(e,t){var r=M(),n=(o,a)=>r(o,a,!0);t.exports=n}}),Pe=L({"../../node_modules/semver/functions/compare-build.js"(e,t){var r=U(),n=(o,a,l)=>{let h=new r(o,l),s=new r(a,l);return h.compare(s)||h.compareBuild(s)};t.exports=n}}),Kr=L({"../../node_modules/semver/functions/sort.js"(e,t){var r=Pe(),n=(o,a)=>o.sort((l,h)=>r(l,h,a));t.exports=n}}),zr=L({"../../node_modules/semver/functions/rsort.js"(e,t){var r=Pe(),n=(o,a)=>o.sort((l,h)=>r(h,l,a));t.exports=n}}),fe=L({"../../node_modules/semver/functions/gt.js"(e,t){var r=M(),n=(o,a,l)=>r(o,a,l)>0;t.exports=n}}),je=L({"../../node_modules/semver/functions/lt.js"(e,t){var r=M(),n=(o,a,l)=>r(o,a,l)<0;t.exports=n}}),Qe=L({"../../node_modules/semver/functions/eq.js"(e,t){var r=M(),n=(o,a,l)=>r(o,a,l)===0;t.exports=n}}),er=L({"../../node_modules/semver/functions/neq.js"(e,t){var r=M(),n=(o,a,l)=>r(o,a,l)!==0;t.exports=n}}),be=L({"../../node_modules/semver/functions/gte.js"(e,t){var r=M(),n=(o,a,l)=>r(o,a,l)>=0;t.exports=n}}),Ue=L({"../../node_modules/semver/functions/lte.js"(e,t){var r=M(),n=(o,a,l)=>r(o,a,l)<=0;t.exports=n}}),rr=L({"../../node_modules/semver/functions/cmp.js"(e,t){var r=Qe(),n=er(),o=fe(),a=be(),l=je(),h=Ue(),s=(i,I,u,c)=>{switch(I){case"===":return typeof i=="object"&&(i=i.version),typeof u=="object"&&(u=u.version),i===u;case"!==":return typeof i=="object"&&(i=i.version),typeof u=="object"&&(u=u.version),i!==u;case"":case"=":case"==":return r(i,u,c);case"!=":return n(i,u,c);case">":return o(i,u,c);case">=":return a(i,u,c);case"<":return l(i,u,c);case"<=":return h(i,u,c);default:throw new TypeError(`Invalid operator: ${I}`)}};t.exports=s}}),Zr=L({"../../node_modules/semver/functions/coerce.js"(e,t){var r=U(),n=Z(),{safeRe:o,t:a}=ae(),l=(h,s)=>{if(h instanceof r)return h;if(typeof h=="number"&&(h=String(h)),typeof h!="string")return null;s=s||{};let i=null;if(!s.rtl)i=h.match(s.includePrerelease?o[a.COERCEFULL]:o[a.COERCE]);else{let f=s.includePrerelease?o[a.COERCERTLFULL]:o[a.COERCERTL],T;for(;(T=f.exec(h))&&(!i||i.index+i[0].length!==h.length);)(!i||T.index+T[0].length!==i.index+i[0].length)&&(i=T),f.lastIndex=T.index+T[1].length+T[2].length;f.lastIndex=-1}if(i===null)return null;let I=i[2],u=i[3]||"0",c=i[4]||"0",m=s.includePrerelease&&i[5]?`-${i[5]}`:"",p=s.includePrerelease&&i[6]?`+${i[6]}`:"";return n(`${I}.${u}.${c}${m}${p}`,s)};t.exports=l}}),Jr=L({"../../node_modules/semver/internal/lrucache.js"(e,t){var r=class{constructor(){this.max=1e3,this.map=new Map}get(n){let o=this.map.get(n);if(o!==void 0)return this.map.delete(n),this.map.set(n,o),o}delete(n){return this.map.delete(n)}set(n,o){if(!this.delete(n)&&o!==void 0){if(this.map.size>=this.max){let a=this.map.keys().next().value;this.delete(a)}this.map.set(n,o)}return this}};t.exports=r}}),X=L({"../../node_modules/semver/classes/range.js"(e,t){var r=/\s+/g,n=class oe{constructor(d,g){if(g=l(g),d instanceof oe)return d.loose===!!g.loose&&d.includePrerelease===!!g.includePrerelease?d:new oe(d.raw,g);if(d instanceof h)return this.raw=d.value,this.set=[[d]],this.formatted=void 0,this;if(this.options=g,this.loose=!!g.loose,this.includePrerelease=!!g.includePrerelease,this.raw=d.trim().replace(r," "),this.set=this.raw.split("||").map(v=>this.parseRange(v.trim())).filter(v=>v.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let v=this.set[0];if(this.set=this.set.filter($=>!N($[0])),this.set.length===0)this.set=[v];else if(this.set.length>1){for(let $ of this.set)if($.length===1&&S($[0])){this.set=[$];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let d=0;d 0&&(this.formatted+="||");let g=this.set[d];for(let v=0;v 0&&(this.formatted+=" "),this.formatted+=g[v].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(d){let g=((this.options.includePrerelease&&f)|(this.options.loose&&T))+":"+d,v=a.get(g);if(v)return v;let $=this.options.loose,R=$?I[u.HYPHENRANGELOOSE]:I[u.HYPHENRANGE];d=d.replace(R,Ie(this.options.includePrerelease)),s("hyphen replace",d),d=d.replace(I[u.COMPARATORTRIM],c),s("comparator trim",d),d=d.replace(I[u.TILDETRIM],m),s("tilde trim",d),d=d.replace(I[u.CARETTRIM],p),s("caret trim",d);let _=d.split(" ").map(C=>G(C,this.options)).join(" ").split(/\s+/).map(C=>ge(C,this.options));$&&(_=_.filter(C=>(s("loose invalid filter",C,this.options),!!C.match(I[u.COMPARATORLOOSE])))),s("range list",_);let y=new Map,O=_.map(C=>new h(C,this.options));for(let C of O){if(N(C))return[C];y.set(C.value,C)}y.size>1&&y.has("")&&y.delete("");let A=[...y.values()];return a.set(g,A),A}intersects(d,g){if(!(d instanceof oe))throw new TypeError("a Range is required");return this.set.some(v=>x(v,g)&&d.set.some($=>x($,g)&&v.every(R=>$.every(_=>R.intersects(_,g)))))}test(d){if(!d)return!1;if(typeof d=="string")try{d=new i(d,this.options)}catch{return!1}for(let g=0;g E.value==="<0.0.0-0",S=E=>E.value==="",x=(E,d)=>{let g=!0,v=E.slice(),$=v.pop();for(;g&&v.length;)g=v.every(R=>$.intersects(R,d)),$=v.pop();return g},G=(E,d)=>(s("comp",E,d),E=P(E,d),s("caret",E),E=W(E,d),s("tildes",E),E=w(E,d),s("xrange",E),E=Re(E,d),s("stars",E),E),D=E=>!E||E.toLowerCase()==="x"||E==="*",W=(E,d)=>E.trim().split(/\s+/).map(g=>k(g,d)).join(" "),k=(E,d)=>{let g=d.loose?I[u.TILDELOOSE]:I[u.TILDE];return E.replace(g,(v,$,R,_,y)=>{s("tilde",E,v,$,R,_,y);let O;return D($)?O="":D(R)?O=`>=${$}.0.0 <${+$+1}.0.0-0`:D(_)?O=`>=${$}.${R}.0 <${$}.${+R+1}.0-0`:y?(s("replaceTilde pr",y),O=`>=${$}.${R}.${_}-${y} <${$}.${+R+1}.0-0`):O=`>=${$}.${R}.${_} <${$}.${+R+1}.0-0`,s("tilde return",O),O})},P=(E,d)=>E.trim().split(/\s+/).map(g=>j(g,d)).join(" "),j=(E,d)=>{s("caret",E,d);let g=d.loose?I[u.CARETLOOSE]:I[u.CARET],v=d.includePrerelease?"-0":"";return E.replace(g,($,R,_,y,O)=>{s("caret",E,$,R,_,y,O);let A;return D(R)?A="":D(_)?A=`>=${R}.0.0${v} <${+R+1}.0.0-0`:D(y)?R==="0"?A=`>=${R}.${_}.0${v} <${R}.${+_+1}.0-0`:A=`>=${R}.${_}.0${v} <${+R+1}.0.0-0`:O?(s("replaceCaret pr",O),R==="0"?_==="0"?A=`>=${R}.${_}.${y}-${O} <${R}.${_}.${+y+1}-0`:A=`>=${R}.${_}.${y}-${O} <${R}.${+_+1}.0-0`:A=`>=${R}.${_}.${y}-${O} <${+R+1}.0.0-0`):(s("no pr"),R==="0"?_==="0"?A=`>=${R}.${_}.${y}${v} <${R}.${_}.${+y+1}-0`:A=`>=${R}.${_}.${y}${v} <${R}.${+_+1}.0-0`:A=`>=${R}.${_}.${y} <${+R+1}.0.0-0`),s("caret return",A),A})},w=(E,d)=>(s("replaceXRanges",E,d),E.split(/\s+/).map(g=>J(g,d)).join(" ")),J=(E,d)=>{E=E.trim();let g=d.loose?I[u.XRANGELOOSE]:I[u.XRANGE];return E.replace(g,(v,$,R,_,y,O)=>{s("xRange",E,v,$,R,_,y,O);let A=D(R),C=A||D(_),B=C||D(y),Q=B;return $==="="&&Q&&($=""),O=d.includePrerelease?"-0":"",A?$===">"||$==="<"?v="<0.0.0-0":v="*":$&&Q?(C&&(_=0),y=0,$===">"?($=">=",C?(R=+R+1,_=0,y=0):(_=+_+1,y=0)):$==="<="&&($="<",C?R=+R+1:_=+_+1),$==="<"&&(O="-0"),v=`${$+R}.${_}.${y}${O}`):C?v=`>=${R}.0.0${O} <${+R+1}.0.0-0`:B&&(v=`>=${R}.${_}.0${O} <${R}.${+_+1}.0-0`),s("xRange return",v),v})},Re=(E,d)=>(s("replaceStars",E,d),E.trim().replace(I[u.STAR],"")),ge=(E,d)=>(s("replaceGTE0",E,d),E.trim().replace(I[d.includePrerelease?u.GTE0PRE:u.GTE0],"")),Ie=E=>(d,g,v,$,R,_,y,O,A,C,B,Q)=>(D(v)?g="":D($)?g=`>=${v}.0.0${E?"-0":""}`:D(R)?g=`>=${v}.${$}.0${E?"-0":""}`:_?g=`>=${g}`:g=`>=${g}${E?"-0":""}`,D(A)?O="":D(C)?O=`<${+A+1}.0.0-0`:D(B)?O=`<${A}.${+C+1}.0-0`:Q?O=`<=${A}.${C}.${B}-${Q}`:E?O=`<${A}.${C}.${+B+1}-0`:O=`<=${O}`,`${g} ${O}`.trim()),$e=(E,d,g)=>{for(let v=0;v 0){let $=E[v].semver;if($.major===d.major&&$.minor===d.minor&&$.patch===d.patch)return!0}return!1}return!0}}}),Ee=L({"../../node_modules/semver/classes/comparator.js"(e,t){var r=Symbol("SemVer ANY"),n=class Se{static get ANY(){return r}constructor(c,m){if(m=o(m),c instanceof Se){if(c.loose===!!m.loose)return c;c=c.value}c=c.trim().split(/\s+/).join(" "),s("comparator",c,m),this.options=m,this.loose=!!m.loose,this.parse(c),this.semver===r?this.value="":this.value=this.operator+this.semver.version,s("comp",this)}parse(c){let m=this.options.loose?a[l.COMPARATORLOOSE]:a[l.COMPARATOR],p=c.match(m);if(!p)throw new TypeError(`Invalid comparator: ${c}`);this.operator=p[1]!==void 0?p[1]:"",this.operator==="="&&(this.operator=""),p[2]?this.semver=new i(p[2],this.options.loose):this.semver=r}toString(){return this.value}test(c){if(s("Comparator.test",c,this.options.loose),this.semver===r||c===r)return!0;if(typeof c=="string")try{c=new i(c,this.options)}catch{return!1}return h(c,this.operator,this.semver,this.options)}intersects(c,m){if(!(c instanceof Se))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new I(c.value,m).test(this.value):c.operator===""?c.value===""?!0:new I(this.value,m).test(c.semver):(m=o(m),m.includePrerelease&&(this.value==="<0.0.0-0"||c.value==="<0.0.0-0")||!m.includePrerelease&&(this.value.startsWith("<0.0.0")||c.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&c.operator.startsWith(">")||this.operator.startsWith("<")&&c.operator.startsWith("<")||this.semver.version===c.semver.version&&this.operator.includes("=")&&c.operator.includes("=")||h(this.semver,"<",c.semver,m)&&this.operator.startsWith(">")&&c.operator.startsWith("<")||h(this.semver,">",c.semver,m)&&this.operator.startsWith("<")&&c.operator.startsWith(">")))}};t.exports=n;var o=De(),{safeRe:a,t:l}=ae(),h=rr(),s=de(),i=U(),I=X()}}),ve=L({"../../node_modules/semver/functions/satisfies.js"(e,t){var r=X(),n=(o,a,l)=>{try{a=new r(a,l)}catch{return!1}return a.test(o)};t.exports=n}}),Qr=L({"../../node_modules/semver/ranges/to-comparators.js"(e,t){var r=X(),n=(o,a)=>new r(o,a).set.map(l=>l.map(h=>h.value).join(" ").trim().split(" "));t.exports=n}}),et=L({"../../node_modules/semver/ranges/max-satisfying.js"(e,t){var r=U(),n=X(),o=(a,l,h)=>{let s=null,i=null,I=null;try{I=new n(l,h)}catch{return null}return a.forEach(u=>{I.test(u)&&(!s||i.compare(u)===-1)&&(s=u,i=new r(s,h))}),s};t.exports=o}}),rt=L({"../../node_modules/semver/ranges/min-satisfying.js"(e,t){var r=U(),n=X(),o=(a,l,h)=>{let s=null,i=null,I=null;try{I=new n(l,h)}catch{return null}return a.forEach(u=>{I.test(u)&&(!s||i.compare(u)===1)&&(s=u,i=new r(s,h))}),s};t.exports=o}}),tt=L({"../../node_modules/semver/ranges/min-version.js"(e,t){var r=U(),n=X(),o=fe(),a=(l,h)=>{l=new n(l,h);let s=new r("0.0.0");if(l.test(s)||(s=new r("0.0.0-0"),l.test(s)))return s;s=null;for(let i=0;i {let m=new r(c.semver.version);switch(c.operator){case">":m.prerelease.length===0?m.patch++:m.prerelease.push(0),m.raw=m.format();case"":case">=":(!u||o(m,u))&&(u=m);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${c.operator}`)}}),u&&(!s||o(s,u))&&(s=u)}return s&&l.test(s)?s:null};t.exports=a}}),st=L({"../../node_modules/semver/ranges/valid.js"(e,t){var r=X(),n=(o,a)=>{try{return new r(o,a).range||"*"}catch{return null}};t.exports=n}}),ke=L({"../../node_modules/semver/ranges/outside.js"(e,t){var r=U(),n=Ee(),{ANY:o}=n,a=X(),l=ve(),h=fe(),s=je(),i=Ue(),I=be(),u=(c,m,p,f)=>{c=new r(c,f),m=new a(m,f);let T,N,S,x,G;switch(p){case">":T=h,N=i,S=s,x=">",G=">=";break;case"<":T=s,N=I,S=h,x="<",G="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(l(c,m,f))return!1;for(let D=0;D {j.semver===o&&(j=new n(">=0.0.0")),k=k||j,P=P||j,T(j.semver,k.semver,f)?k=j:S(j.semver,P.semver,f)&&(P=j)}),k.operator===x||k.operator===G||(!P.operator||P.operator===x)&&N(c,P.semver)||P.operator===G&&S(c,P.semver))return!1}return!0};t.exports=u}}),nt=L({"../../node_modules/semver/ranges/gtr.js"(e,t){var r=ke(),n=(o,a,l)=>r(o,a,">",l);t.exports=n}}),at=L({"../../node_modules/semver/ranges/ltr.js"(e,t){var r=ke(),n=(o,a,l)=>r(o,a,"<",l);t.exports=n}}),it=L({"../../node_modules/semver/ranges/intersects.js"(e,t){var r=X(),n=(o,a,l)=>(o=new r(o,l),a=new r(a,l),o.intersects(a,l));t.exports=n}}),ot=L({"../../node_modules/semver/ranges/simplify.js"(e,t){var r=ve(),n=M();t.exports=(o,a,l)=>{let h=[],s=null,i=null,I=o.sort((p,f)=>n(p,f,l));for(let p of I)r(p,a,l)?(i=p,s||(s=p)):(i&&h.push([s,i]),i=null,s=null);s&&h.push([s,null]);let u=[];for(let[p,f]of h)p===f?u.push(p):!f&&p===I[0]?u.push("*"):f?p===I[0]?u.push(`<=${f}`):u.push(`${p} - ${f}`):u.push(`>=${p}`);let c=u.join(" || "),m=typeof a.raw=="string"?a.raw:String(a);return c.length {if(m===p)return!0;m=new r(m,f),p=new r(p,f);let T=!1;e:for(let N of m.set){for(let S of p.set){let x=I(N,S,f);if(T=T||x!==null,x)continue e}if(T)return!1}return!0},s=[new n(">=0.0.0-0")],i=[new n(">=0.0.0")],I=(m,p,f)=>{if(m===p)return!0;if(m.length===1&&m[0].semver===o){if(p.length===1&&p[0].semver===o)return!0;f.includePrerelease?m=s:m=i}if(p.length===1&&p[0].semver===o){if(f.includePrerelease)return!0;p=i}let T=new Set,N,S;for(let w of m)w.operator===">"||w.operator===">="?N=u(N,w,f):w.operator==="<"||w.operator==="<="?S=c(S,w,f):T.add(w.semver);if(T.size>1)return null;let x;if(N&&S&&(x=l(N.semver,S.semver,f),x>0||x===0&&(N.operator!==">="||S.operator!=="<=")))return null;for(let w of T){if(N&&!a(w,String(N),f)||S&&!a(w,String(S),f))return null;for(let J of p)if(!a(w,String(J),f))return!1;return!0}let G,D,W,k,P=S&&!f.includePrerelease&&S.semver.prerelease.length?S.semver:!1,j=N&&!f.includePrerelease&&N.semver.prerelease.length?N.semver:!1;P&&P.prerelease.length===1&&S.operator==="<"&&P.prerelease[0]===0&&(P=!1);for(let w of p){if(k=k||w.operator===">"||w.operator===">=",W=W||w.operator==="<"||w.operator==="<=",N){if(j&&w.semver.prerelease&&w.semver.prerelease.length&&w.semver.major===j.major&&w.semver.minor===j.minor&&w.semver.patch===j.patch&&(j=!1),w.operator===">"||w.operator===">="){if(G=u(N,w,f),G===w&&G!==N)return!1}else if(N.operator===">="&&!a(N.semver,String(w),f))return!1}if(S){if(P&&w.semver.prerelease&&w.semver.prerelease.length&&w.semver.major===P.major&&w.semver.minor===P.minor&&w.semver.patch===P.patch&&(P=!1),w.operator==="<"||w.operator==="<="){if(D=c(S,w,f),D===w&&D!==S)return!1}else if(S.operator==="<="&&!a(S.semver,String(w),f))return!1}if(!w.operator&&(S||N)&&x!==0)return!1}return!(N&&W&&!S&&x!==0||S&&k&&!N&&x!==0||j||P)},u=(m,p,f)=>{if(!m)return p;let T=l(m.semver,p.semver,f);return T>0?m:T<0||p.operator===">"&&m.operator===">="?p:m},c=(m,p,f)=>{if(!m)return p;let T=l(m.semver,p.semver,f);return T<0?m:T>0||p.operator==="<"&&m.operator==="<="?p:m};t.exports=h}}),ut=L({"../../node_modules/semver/index.js"(e,t){var r=ae(),n=he(),o=U(),a=Je(),l=Z(),h=Fr(),s=qr(),i=Gr(),I=Mr(),u=Xr(),c=Vr(),m=Yr(),p=Wr(),f=M(),T=Hr(),N=Br(),S=Pe(),x=Kr(),G=zr(),D=fe(),W=je(),k=Qe(),P=er(),j=be(),w=Ue(),J=rr(),Re=Zr(),ge=Ee(),Ie=X(),$e=ve(),E=Qr(),d=et(),g=rt(),v=tt(),$=st(),R=ke(),_=nt(),y=at(),O=it(),A=ot(),C=lt();t.exports={parse:l,valid:h,clean:s,inc:i,diff:I,major:u,minor:c,patch:m,prerelease:p,compare:f,rcompare:T,compareLoose:N,compareBuild:S,sort:x,rsort:G,gt:D,lt:W,eq:k,neq:P,gte:j,lte:w,cmp:J,coerce:Re,Comparator:ge,Range:Ie,satisfies:$e,toComparators:E,maxSatisfying:d,minSatisfying:g,minVersion:v,validRange:$,outside:R,gtr:_,ltr:y,intersects:O,simplifyRange:A,subset:C,SemVer:o,re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:n.SEMVER_SPEC_VERSION,RELEASE_TYPES:n.RELEASE_TYPES,compareIdentifiers:a.compareIdentifiers,rcompareIdentifiers:a.rcompareIdentifiers}}}),pt={};nr(pt,{decorators:()=>vt,mount:()=>ft,parameters:()=>Et,render:()=>ct,renderToCanvas:()=>dt});var Me=sr(ut()),ct=(e,t)=>{let{id:r,component:n}=t;if(!n)throw new Error(`Unable to render story ${r} as the component annotation is missing from the default export`);return re.createElement(n,{...e})};function mt(){return globalThis.IS_REACT_ACT_ENVIRONMENT}var{FRAMEWORK_OPTIONS:Ne}=kr,ht=class extends Y.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidMount(){let{hasError:e}=this.state,{showMain:t}=this.props;e||t()}componentDidCatch(e){let{showException:t}=this.props;t(e)}render(){let{hasError:e}=this.state,{children:t}=this.props;return e?null:t}},Xe=Ne!=null&&Ne.strictMode?Y.StrictMode:Y.Fragment;async function dt({storyContext:e,unboundStoryFn:t,showMain:r,showException:n,forceRemount:o},a){var u,c;let{renderElement:l,unmountElement:h}=await tr(async()=>{const{renderElement:m,unmountElement:p}=await import("./react-18-Dbhu8A1k.js");return{renderElement:m,unmountElement:p}},__vite__mapDeps([0,1,2,3]),import.meta.url),s=t,i=mt()?re.createElement(s,{...e}):re.createElement(ht,{showMain:r,showException:n},re.createElement(s,{...e})),I=Xe?re.createElement(Xe,null,i):i;return o&&h(a),await l(I,a,(c=(u=e==null?void 0:e.parameters)==null?void 0:u.react)==null?void 0:c.rootOptions),()=>h(a)}var ft=e=>async t=>(t!=null&&(e.originalStoryFn=()=>t),await e.renderToCanvas(),e.canvas),Et={renderer:"react"},vt=[(e,t)=>{var o,a;if(!((a=(o=t.parameters)==null?void 0:o.react)!=null&&a.rsc))return Y.createElement(e,null);let r=Me.default.major(Y.version),n=Me.default.minor(Y.version);if(r<18||r===18&&n<3)throw new Error("React Server Components require React >= 18.3");return Y.createElement(Y.Suspense,null,Y.createElement(e,null))}];export{vt as decorators,ft as mount,Et as parameters,ct as render,dt as renderToCanvas}; + */var K=Y,ye=ar;function Ve(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(r=t.return),e=t.return;while(e)}return t.tag===3?r:null}function Fe(e){if(Ve(e)!==e)throw Error("Unable to find node on an unmounted component.")}function ir(e){var t=e.alternate;if(!t){if(t=Ve(e),t===null)throw Error("Unable to find node on an unmounted component.");return t!==e?null:e}for(var r=e,n=t;;){var o=r.return;if(o===null)break;var a=o.alternate;if(a===null){if(n=o.return,n!==null){r=n;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===r)return Fe(o),e;if(a===n)return Fe(o),t;a=a.sibling}throw Error("Unable to find node on an unmounted component.")}if(r.return!==n.return)r=o,n=a;else{for(var l=!1,h=o.child;h;){if(h===r){l=!0,r=o,n=a;break}if(h===n){l=!0,n=o,r=a;break}h=h.sibling}if(!l){for(h=a.child;h;){if(h===r){l=!0,r=a,n=o;break}if(h===n){l=!0,n=a,r=o;break}h=h.sibling}if(!l)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(r.alternate!==n)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(r.tag!==3)throw Error("Unable to find node on an unmounted component.");return r.stateNode.current===r?e:t}var F=Object.assign;function _e(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function ie(){return!0}function qe(){return!1}function q(e){function t(r,n,o,a,l){this._reactName=r,this._targetInst=o,this.type=n,this.nativeEvent=a,this.target=l,this.currentTarget=null;for(var h in e)e.hasOwnProperty(h)&&(r=e[h],this[h]=r?r(a):a[h]);return this.isDefaultPrevented=(a.defaultPrevented!=null?a.defaultPrevented:a.returnValue===!1)?ie:qe,this.isPropagationStopped=qe,this}return F(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=ie)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=ie)},persist:function(){},isPersistent:ie}),t}var z={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},or=q(z),se=F({},z,{view:0,detail:0});q(se);var Le,we,ee,pe=F({},se,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ae,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ee&&(ee&&e.type==="mousemove"?(Le=e.screenX-ee.screenX,we=e.screenY-ee.screenY):we=Le=0,ee=e),Le)},movementY:function(e){return"movementY"in e?e.movementY:we}});q(pe);var lr=F({},pe,{dataTransfer:0});q(lr);var ur=F({},se,{relatedTarget:0});q(ur);var pr=F({},z,{animationName:0,elapsedTime:0,pseudoElement:0});q(pr);var cr=F({},z,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}});q(cr);var mr=F({},z,{data:0});q(mr);var hr={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},dr={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},fr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Er(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=fr[e])?!!t[e]:!1}function Ae(){return Er}var vr=F({},se,{key:function(e){if(e.key){var t=hr[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=_e(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?dr[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ae,charCode:function(e){return e.type==="keypress"?_e(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?_e(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}});q(vr);var Rr=F({},pe,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0});q(Rr);var gr=F({},se,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ae});q(gr);var Ir=F({},z,{propertyName:0,elapsedTime:0,pseudoElement:0});q(Ir);var $r=F({},pe,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0});q($r);function _r(e,t,r,n,o,a,l,h,s){var i=Array.prototype.slice.call(arguments,3);try{t.apply(r,i)}catch(I){this.onError(I)}}var te=!1,le=null,ue=!1,Oe=null,Lr={onError:function(e){te=!0,le=e}};function wr(e,t,r,n,o,a,l,h,s){te=!1,le=null,_r.apply(Lr,arguments)}function Tr(e,t,r,n,o,a,l,h,s){if(wr.apply(this,arguments),te){if(te){var i=le;te=!1,le=null}else throw Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.");ue||(ue=!0,Oe=i)}}var Ce=Array.isArray,ne=ye.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events,Nr=ne[0],Or=ne[1],Sr=ne[2],yr=ne[3],Ar=ne[4],Cr=K.unstable_act;function xr(){}function Dr(e,t){if(!e)return[];if(e=ir(e),!e)return[];for(var r=e,n=[];;){if(r.tag===5||r.tag===6||r.tag===1||r.tag===0){var o=r.stateNode;t(o)&&n.push(o)}if(r.child)r.child.return=r,r=r.child;else{if(r===e)return n;for(;!r.sibling;){if(!r.return||r.return===e)return n;r=r.return}r.sibling.return=r.return,r=r.sibling}}}function H(e,t){if(e&&!e._reactInternals){var r=String(e);throw e=Ce(e)?"an array":e&&e.nodeType===1&&e.tagName?"a DOM node":r==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":r,Error(t+"(...): the first argument must be a React class instance. Instead received: "+(e+"."))}}function ce(e){return!(!e||e.nodeType!==1||!e.tagName)}function xe(e){return ce(e)?!1:e!=null&&typeof e.render=="function"&&typeof e.setState=="function"}function Ye(e,t){return xe(e)?e._reactInternals.type===t:!1}function me(e,t){return H(e,"findAllInRenderedTree"),e?Dr(e._reactInternals,t):[]}function We(e,t){return H(e,"scryRenderedDOMComponentsWithClass"),me(e,function(r){if(ce(r)){var n=r.className;typeof n!="string"&&(n=r.getAttribute("class")||"");var o=n.split(/\s+/);if(!Ce(t)){if(t===void 0)throw Error("TestUtils.scryRenderedDOMComponentsWithClass expects a className as a second argument.");t=t.split(/\s+/)}return t.every(function(a){return o.indexOf(a)!==-1})}return!1})}function He(e,t){return H(e,"scryRenderedDOMComponentsWithTag"),me(e,function(r){return ce(r)&&r.tagName.toUpperCase()===t.toUpperCase()})}function Be(e,t){return H(e,"scryRenderedComponentsWithType"),me(e,function(r){return Ye(r,t)})}function Ge(e,t,r){var n=e.type||"unknown-event";e.currentTarget=Or(r),Tr(n,t,void 0,e),e.currentTarget=null}function Ke(e,t,r){for(var n=[];e;){n.push(e);do e=e.return;while(e&&e.tag!==5);e=e||null}for(e=n.length;0 console.error("SEMVER",...n):()=>{};t.exports=r}}),ae=L({"../../node_modules/semver/internal/re.js"(e,t){var{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:n,MAX_LENGTH:o}=he(),a=de();e=t.exports={};var l=e.re=[],h=e.safeRe=[],s=e.src=[],i=e.t={},I=0,u="[a-zA-Z0-9-]",c=[["\\s",1],["\\d",o],[u,n]],m=f=>{for(let[T,N]of c)f=f.split(`${T}*`).join(`${T}{0,${N}}`).split(`${T}+`).join(`${T}{1,${N}}`);return f},p=(f,T,N)=>{let S=m(T),x=I++;a(f,x,T),i[f]=x,s[x]=T,l[x]=new RegExp(T,N?"g":void 0),h[x]=new RegExp(S,N?"g":void 0)};p("NUMERICIDENTIFIER","0|[1-9]\\d*"),p("NUMERICIDENTIFIERLOOSE","\\d+"),p("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${u}*`),p("MAINVERSION",`(${s[i.NUMERICIDENTIFIER]})\\.(${s[i.NUMERICIDENTIFIER]})\\.(${s[i.NUMERICIDENTIFIER]})`),p("MAINVERSIONLOOSE",`(${s[i.NUMERICIDENTIFIERLOOSE]})\\.(${s[i.NUMERICIDENTIFIERLOOSE]})\\.(${s[i.NUMERICIDENTIFIERLOOSE]})`),p("PRERELEASEIDENTIFIER",`(?:${s[i.NUMERICIDENTIFIER]}|${s[i.NONNUMERICIDENTIFIER]})`),p("PRERELEASEIDENTIFIERLOOSE",`(?:${s[i.NUMERICIDENTIFIERLOOSE]}|${s[i.NONNUMERICIDENTIFIER]})`),p("PRERELEASE",`(?:-(${s[i.PRERELEASEIDENTIFIER]}(?:\\.${s[i.PRERELEASEIDENTIFIER]})*))`),p("PRERELEASELOOSE",`(?:-?(${s[i.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${s[i.PRERELEASEIDENTIFIERLOOSE]})*))`),p("BUILDIDENTIFIER",`${u}+`),p("BUILD",`(?:\\+(${s[i.BUILDIDENTIFIER]}(?:\\.${s[i.BUILDIDENTIFIER]})*))`),p("FULLPLAIN",`v?${s[i.MAINVERSION]}${s[i.PRERELEASE]}?${s[i.BUILD]}?`),p("FULL",`^${s[i.FULLPLAIN]}$`),p("LOOSEPLAIN",`[v=\\s]*${s[i.MAINVERSIONLOOSE]}${s[i.PRERELEASELOOSE]}?${s[i.BUILD]}?`),p("LOOSE",`^${s[i.LOOSEPLAIN]}$`),p("GTLT","((?:<|>)?=?)"),p("XRANGEIDENTIFIERLOOSE",`${s[i.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),p("XRANGEIDENTIFIER",`${s[i.NUMERICIDENTIFIER]}|x|X|\\*`),p("XRANGEPLAIN",`[v=\\s]*(${s[i.XRANGEIDENTIFIER]})(?:\\.(${s[i.XRANGEIDENTIFIER]})(?:\\.(${s[i.XRANGEIDENTIFIER]})(?:${s[i.PRERELEASE]})?${s[i.BUILD]}?)?)?`),p("XRANGEPLAINLOOSE",`[v=\\s]*(${s[i.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[i.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[i.XRANGEIDENTIFIERLOOSE]})(?:${s[i.PRERELEASELOOSE]})?${s[i.BUILD]}?)?)?`),p("XRANGE",`^${s[i.GTLT]}\\s*${s[i.XRANGEPLAIN]}$`),p("XRANGELOOSE",`^${s[i.GTLT]}\\s*${s[i.XRANGEPLAINLOOSE]}$`),p("COERCEPLAIN",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?`),p("COERCE",`${s[i.COERCEPLAIN]}(?:$|[^\\d])`),p("COERCEFULL",s[i.COERCEPLAIN]+`(?:${s[i.PRERELEASE]})?(?:${s[i.BUILD]})?(?:$|[^\\d])`),p("COERCERTL",s[i.COERCE],!0),p("COERCERTLFULL",s[i.COERCEFULL],!0),p("LONETILDE","(?:~>?)"),p("TILDETRIM",`(\\s*)${s[i.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",p("TILDE",`^${s[i.LONETILDE]}${s[i.XRANGEPLAIN]}$`),p("TILDELOOSE",`^${s[i.LONETILDE]}${s[i.XRANGEPLAINLOOSE]}$`),p("LONECARET","(?:\\^)"),p("CARETTRIM",`(\\s*)${s[i.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",p("CARET",`^${s[i.LONECARET]}${s[i.XRANGEPLAIN]}$`),p("CARETLOOSE",`^${s[i.LONECARET]}${s[i.XRANGEPLAINLOOSE]}$`),p("COMPARATORLOOSE",`^${s[i.GTLT]}\\s*(${s[i.LOOSEPLAIN]})$|^$`),p("COMPARATOR",`^${s[i.GTLT]}\\s*(${s[i.FULLPLAIN]})$|^$`),p("COMPARATORTRIM",`(\\s*)${s[i.GTLT]}\\s*(${s[i.LOOSEPLAIN]}|${s[i.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",p("HYPHENRANGE",`^\\s*(${s[i.XRANGEPLAIN]})\\s+-\\s+(${s[i.XRANGEPLAIN]})\\s*$`),p("HYPHENRANGELOOSE",`^\\s*(${s[i.XRANGEPLAINLOOSE]})\\s+-\\s+(${s[i.XRANGEPLAINLOOSE]})\\s*$`),p("STAR","(<|>)?=?\\s*\\*"),p("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),p("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),De=L({"../../node_modules/semver/internal/parse-options.js"(e,t){var r=Object.freeze({loose:!0}),n=Object.freeze({}),o=a=>a?typeof a!="object"?r:a:n;t.exports=o}}),Je=L({"../../node_modules/semver/internal/identifiers.js"(e,t){var r=/^[0-9]+$/,n=(a,l)=>{let h=r.test(a),s=r.test(l);return h&&s&&(a=+a,l=+l),a===l?0:h&&!s?-1:s&&!h?1:a n(l,a);t.exports={compareIdentifiers:n,rcompareIdentifiers:o}}}),U=L({"../../node_modules/semver/classes/semver.js"(e,t){var r=de(),{MAX_LENGTH:n,MAX_SAFE_INTEGER:o}=he(),{safeRe:a,t:l}=ae(),h=De(),{compareIdentifiers:s}=Je(),i=class V{constructor(u,c){if(c=h(c),u instanceof V){if(u.loose===!!c.loose&&u.includePrerelease===!!c.includePrerelease)return u;u=u.version}else if(typeof u!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof u}".`);if(u.length>n)throw new TypeError(`version is longer than ${n} characters`);r("SemVer",u,c),this.options=c,this.loose=!!c.loose,this.includePrerelease=!!c.includePrerelease;let m=u.trim().match(c.loose?a[l.LOOSE]:a[l.FULL]);if(!m)throw new TypeError(`Invalid Version: ${u}`);if(this.raw=u,this.major=+m[1],this.minor=+m[2],this.patch=+m[3],this.major>o||this.major<0)throw new TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw new TypeError("Invalid patch version");m[4]?this.prerelease=m[4].split(".").map(p=>{if(/^[0-9]+$/.test(p)){let f=+p;if(f>=0&&f =0;)typeof this.prerelease[f]=="number"&&(this.prerelease[f]++,f=-2);if(f===-1){if(c===this.prerelease.join(".")&&m===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(p)}}if(c){let f=[c,p];m===!1&&(f=[c]),s(this.prerelease[0],c)===0?isNaN(this.prerelease[1])&&(this.prerelease=f):this.prerelease=f}break}default:throw new Error(`invalid increment argument: ${u}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};t.exports=i}}),Z=L({"../../node_modules/semver/functions/parse.js"(e,t){var r=U(),n=(o,a,l=!1)=>{if(o instanceof r)return o;try{return new r(o,a)}catch(h){if(!l)return null;throw h}};t.exports=n}}),Fr=L({"../../node_modules/semver/functions/valid.js"(e,t){var r=Z(),n=(o,a)=>{let l=r(o,a);return l?l.version:null};t.exports=n}}),qr=L({"../../node_modules/semver/functions/clean.js"(e,t){var r=Z(),n=(o,a)=>{let l=r(o.trim().replace(/^[=v]+/,""),a);return l?l.version:null};t.exports=n}}),Gr=L({"../../node_modules/semver/functions/inc.js"(e,t){var r=U(),n=(o,a,l,h,s)=>{typeof l=="string"&&(s=h,h=l,l=void 0);try{return new r(o instanceof r?o.version:o,l).inc(a,h,s).version}catch{return null}};t.exports=n}}),Mr=L({"../../node_modules/semver/functions/diff.js"(e,t){var r=Z(),n=(o,a)=>{let l=r(o,null,!0),h=r(a,null,!0),s=l.compare(h);if(s===0)return null;let i=s>0,I=i?l:h,u=i?h:l,c=!!I.prerelease.length;if(u.prerelease.length&&!c)return!u.patch&&!u.minor?"major":I.patch?"patch":I.minor?"minor":"major";let m=c?"pre":"";return l.major!==h.major?m+"major":l.minor!==h.minor?m+"minor":l.patch!==h.patch?m+"patch":"prerelease"};t.exports=n}}),Xr=L({"../../node_modules/semver/functions/major.js"(e,t){var r=U(),n=(o,a)=>new r(o,a).major;t.exports=n}}),Vr=L({"../../node_modules/semver/functions/minor.js"(e,t){var r=U(),n=(o,a)=>new r(o,a).minor;t.exports=n}}),Yr=L({"../../node_modules/semver/functions/patch.js"(e,t){var r=U(),n=(o,a)=>new r(o,a).patch;t.exports=n}}),Wr=L({"../../node_modules/semver/functions/prerelease.js"(e,t){var r=Z(),n=(o,a)=>{let l=r(o,a);return l&&l.prerelease.length?l.prerelease:null};t.exports=n}}),M=L({"../../node_modules/semver/functions/compare.js"(e,t){var r=U(),n=(o,a,l)=>new r(o,l).compare(new r(a,l));t.exports=n}}),Hr=L({"../../node_modules/semver/functions/rcompare.js"(e,t){var r=M(),n=(o,a,l)=>r(a,o,l);t.exports=n}}),Br=L({"../../node_modules/semver/functions/compare-loose.js"(e,t){var r=M(),n=(o,a)=>r(o,a,!0);t.exports=n}}),Pe=L({"../../node_modules/semver/functions/compare-build.js"(e,t){var r=U(),n=(o,a,l)=>{let h=new r(o,l),s=new r(a,l);return h.compare(s)||h.compareBuild(s)};t.exports=n}}),Kr=L({"../../node_modules/semver/functions/sort.js"(e,t){var r=Pe(),n=(o,a)=>o.sort((l,h)=>r(l,h,a));t.exports=n}}),zr=L({"../../node_modules/semver/functions/rsort.js"(e,t){var r=Pe(),n=(o,a)=>o.sort((l,h)=>r(h,l,a));t.exports=n}}),fe=L({"../../node_modules/semver/functions/gt.js"(e,t){var r=M(),n=(o,a,l)=>r(o,a,l)>0;t.exports=n}}),je=L({"../../node_modules/semver/functions/lt.js"(e,t){var r=M(),n=(o,a,l)=>r(o,a,l)<0;t.exports=n}}),Qe=L({"../../node_modules/semver/functions/eq.js"(e,t){var r=M(),n=(o,a,l)=>r(o,a,l)===0;t.exports=n}}),er=L({"../../node_modules/semver/functions/neq.js"(e,t){var r=M(),n=(o,a,l)=>r(o,a,l)!==0;t.exports=n}}),be=L({"../../node_modules/semver/functions/gte.js"(e,t){var r=M(),n=(o,a,l)=>r(o,a,l)>=0;t.exports=n}}),Ue=L({"../../node_modules/semver/functions/lte.js"(e,t){var r=M(),n=(o,a,l)=>r(o,a,l)<=0;t.exports=n}}),rr=L({"../../node_modules/semver/functions/cmp.js"(e,t){var r=Qe(),n=er(),o=fe(),a=be(),l=je(),h=Ue(),s=(i,I,u,c)=>{switch(I){case"===":return typeof i=="object"&&(i=i.version),typeof u=="object"&&(u=u.version),i===u;case"!==":return typeof i=="object"&&(i=i.version),typeof u=="object"&&(u=u.version),i!==u;case"":case"=":case"==":return r(i,u,c);case"!=":return n(i,u,c);case">":return o(i,u,c);case">=":return a(i,u,c);case"<":return l(i,u,c);case"<=":return h(i,u,c);default:throw new TypeError(`Invalid operator: ${I}`)}};t.exports=s}}),Zr=L({"../../node_modules/semver/functions/coerce.js"(e,t){var r=U(),n=Z(),{safeRe:o,t:a}=ae(),l=(h,s)=>{if(h instanceof r)return h;if(typeof h=="number"&&(h=String(h)),typeof h!="string")return null;s=s||{};let i=null;if(!s.rtl)i=h.match(s.includePrerelease?o[a.COERCEFULL]:o[a.COERCE]);else{let f=s.includePrerelease?o[a.COERCERTLFULL]:o[a.COERCERTL],T;for(;(T=f.exec(h))&&(!i||i.index+i[0].length!==h.length);)(!i||T.index+T[0].length!==i.index+i[0].length)&&(i=T),f.lastIndex=T.index+T[1].length+T[2].length;f.lastIndex=-1}if(i===null)return null;let I=i[2],u=i[3]||"0",c=i[4]||"0",m=s.includePrerelease&&i[5]?`-${i[5]}`:"",p=s.includePrerelease&&i[6]?`+${i[6]}`:"";return n(`${I}.${u}.${c}${m}${p}`,s)};t.exports=l}}),Jr=L({"../../node_modules/semver/internal/lrucache.js"(e,t){var r=class{constructor(){this.max=1e3,this.map=new Map}get(n){let o=this.map.get(n);if(o!==void 0)return this.map.delete(n),this.map.set(n,o),o}delete(n){return this.map.delete(n)}set(n,o){if(!this.delete(n)&&o!==void 0){if(this.map.size>=this.max){let a=this.map.keys().next().value;this.delete(a)}this.map.set(n,o)}return this}};t.exports=r}}),X=L({"../../node_modules/semver/classes/range.js"(e,t){var r=/\s+/g,n=class oe{constructor(d,g){if(g=l(g),d instanceof oe)return d.loose===!!g.loose&&d.includePrerelease===!!g.includePrerelease?d:new oe(d.raw,g);if(d instanceof h)return this.raw=d.value,this.set=[[d]],this.formatted=void 0,this;if(this.options=g,this.loose=!!g.loose,this.includePrerelease=!!g.includePrerelease,this.raw=d.trim().replace(r," "),this.set=this.raw.split("||").map(v=>this.parseRange(v.trim())).filter(v=>v.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let v=this.set[0];if(this.set=this.set.filter($=>!N($[0])),this.set.length===0)this.set=[v];else if(this.set.length>1){for(let $ of this.set)if($.length===1&&S($[0])){this.set=[$];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let d=0;d 0&&(this.formatted+="||");let g=this.set[d];for(let v=0;v 0&&(this.formatted+=" "),this.formatted+=g[v].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(d){let g=((this.options.includePrerelease&&f)|(this.options.loose&&T))+":"+d,v=a.get(g);if(v)return v;let $=this.options.loose,R=$?I[u.HYPHENRANGELOOSE]:I[u.HYPHENRANGE];d=d.replace(R,Ie(this.options.includePrerelease)),s("hyphen replace",d),d=d.replace(I[u.COMPARATORTRIM],c),s("comparator trim",d),d=d.replace(I[u.TILDETRIM],m),s("tilde trim",d),d=d.replace(I[u.CARETTRIM],p),s("caret trim",d);let _=d.split(" ").map(C=>G(C,this.options)).join(" ").split(/\s+/).map(C=>ge(C,this.options));$&&(_=_.filter(C=>(s("loose invalid filter",C,this.options),!!C.match(I[u.COMPARATORLOOSE])))),s("range list",_);let y=new Map,O=_.map(C=>new h(C,this.options));for(let C of O){if(N(C))return[C];y.set(C.value,C)}y.size>1&&y.has("")&&y.delete("");let A=[...y.values()];return a.set(g,A),A}intersects(d,g){if(!(d instanceof oe))throw new TypeError("a Range is required");return this.set.some(v=>x(v,g)&&d.set.some($=>x($,g)&&v.every(R=>$.every(_=>R.intersects(_,g)))))}test(d){if(!d)return!1;if(typeof d=="string")try{d=new i(d,this.options)}catch{return!1}for(let g=0;g E.value==="<0.0.0-0",S=E=>E.value==="",x=(E,d)=>{let g=!0,v=E.slice(),$=v.pop();for(;g&&v.length;)g=v.every(R=>$.intersects(R,d)),$=v.pop();return g},G=(E,d)=>(s("comp",E,d),E=P(E,d),s("caret",E),E=W(E,d),s("tildes",E),E=w(E,d),s("xrange",E),E=Re(E,d),s("stars",E),E),D=E=>!E||E.toLowerCase()==="x"||E==="*",W=(E,d)=>E.trim().split(/\s+/).map(g=>k(g,d)).join(" "),k=(E,d)=>{let g=d.loose?I[u.TILDELOOSE]:I[u.TILDE];return E.replace(g,(v,$,R,_,y)=>{s("tilde",E,v,$,R,_,y);let O;return D($)?O="":D(R)?O=`>=${$}.0.0 <${+$+1}.0.0-0`:D(_)?O=`>=${$}.${R}.0 <${$}.${+R+1}.0-0`:y?(s("replaceTilde pr",y),O=`>=${$}.${R}.${_}-${y} <${$}.${+R+1}.0-0`):O=`>=${$}.${R}.${_} <${$}.${+R+1}.0-0`,s("tilde return",O),O})},P=(E,d)=>E.trim().split(/\s+/).map(g=>j(g,d)).join(" "),j=(E,d)=>{s("caret",E,d);let g=d.loose?I[u.CARETLOOSE]:I[u.CARET],v=d.includePrerelease?"-0":"";return E.replace(g,($,R,_,y,O)=>{s("caret",E,$,R,_,y,O);let A;return D(R)?A="":D(_)?A=`>=${R}.0.0${v} <${+R+1}.0.0-0`:D(y)?R==="0"?A=`>=${R}.${_}.0${v} <${R}.${+_+1}.0-0`:A=`>=${R}.${_}.0${v} <${+R+1}.0.0-0`:O?(s("replaceCaret pr",O),R==="0"?_==="0"?A=`>=${R}.${_}.${y}-${O} <${R}.${_}.${+y+1}-0`:A=`>=${R}.${_}.${y}-${O} <${R}.${+_+1}.0-0`:A=`>=${R}.${_}.${y}-${O} <${+R+1}.0.0-0`):(s("no pr"),R==="0"?_==="0"?A=`>=${R}.${_}.${y}${v} <${R}.${_}.${+y+1}-0`:A=`>=${R}.${_}.${y}${v} <${R}.${+_+1}.0-0`:A=`>=${R}.${_}.${y} <${+R+1}.0.0-0`),s("caret return",A),A})},w=(E,d)=>(s("replaceXRanges",E,d),E.split(/\s+/).map(g=>J(g,d)).join(" ")),J=(E,d)=>{E=E.trim();let g=d.loose?I[u.XRANGELOOSE]:I[u.XRANGE];return E.replace(g,(v,$,R,_,y,O)=>{s("xRange",E,v,$,R,_,y,O);let A=D(R),C=A||D(_),B=C||D(y),Q=B;return $==="="&&Q&&($=""),O=d.includePrerelease?"-0":"",A?$===">"||$==="<"?v="<0.0.0-0":v="*":$&&Q?(C&&(_=0),y=0,$===">"?($=">=",C?(R=+R+1,_=0,y=0):(_=+_+1,y=0)):$==="<="&&($="<",C?R=+R+1:_=+_+1),$==="<"&&(O="-0"),v=`${$+R}.${_}.${y}${O}`):C?v=`>=${R}.0.0${O} <${+R+1}.0.0-0`:B&&(v=`>=${R}.${_}.0${O} <${R}.${+_+1}.0-0`),s("xRange return",v),v})},Re=(E,d)=>(s("replaceStars",E,d),E.trim().replace(I[u.STAR],"")),ge=(E,d)=>(s("replaceGTE0",E,d),E.trim().replace(I[d.includePrerelease?u.GTE0PRE:u.GTE0],"")),Ie=E=>(d,g,v,$,R,_,y,O,A,C,B,Q)=>(D(v)?g="":D($)?g=`>=${v}.0.0${E?"-0":""}`:D(R)?g=`>=${v}.${$}.0${E?"-0":""}`:_?g=`>=${g}`:g=`>=${g}${E?"-0":""}`,D(A)?O="":D(C)?O=`<${+A+1}.0.0-0`:D(B)?O=`<${A}.${+C+1}.0-0`:Q?O=`<=${A}.${C}.${B}-${Q}`:E?O=`<${A}.${C}.${+B+1}-0`:O=`<=${O}`,`${g} ${O}`.trim()),$e=(E,d,g)=>{for(let v=0;v 0){let $=E[v].semver;if($.major===d.major&&$.minor===d.minor&&$.patch===d.patch)return!0}return!1}return!0}}}),Ee=L({"../../node_modules/semver/classes/comparator.js"(e,t){var r=Symbol("SemVer ANY"),n=class Se{static get ANY(){return r}constructor(c,m){if(m=o(m),c instanceof Se){if(c.loose===!!m.loose)return c;c=c.value}c=c.trim().split(/\s+/).join(" "),s("comparator",c,m),this.options=m,this.loose=!!m.loose,this.parse(c),this.semver===r?this.value="":this.value=this.operator+this.semver.version,s("comp",this)}parse(c){let m=this.options.loose?a[l.COMPARATORLOOSE]:a[l.COMPARATOR],p=c.match(m);if(!p)throw new TypeError(`Invalid comparator: ${c}`);this.operator=p[1]!==void 0?p[1]:"",this.operator==="="&&(this.operator=""),p[2]?this.semver=new i(p[2],this.options.loose):this.semver=r}toString(){return this.value}test(c){if(s("Comparator.test",c,this.options.loose),this.semver===r||c===r)return!0;if(typeof c=="string")try{c=new i(c,this.options)}catch{return!1}return h(c,this.operator,this.semver,this.options)}intersects(c,m){if(!(c instanceof Se))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new I(c.value,m).test(this.value):c.operator===""?c.value===""?!0:new I(this.value,m).test(c.semver):(m=o(m),m.includePrerelease&&(this.value==="<0.0.0-0"||c.value==="<0.0.0-0")||!m.includePrerelease&&(this.value.startsWith("<0.0.0")||c.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&c.operator.startsWith(">")||this.operator.startsWith("<")&&c.operator.startsWith("<")||this.semver.version===c.semver.version&&this.operator.includes("=")&&c.operator.includes("=")||h(this.semver,"<",c.semver,m)&&this.operator.startsWith(">")&&c.operator.startsWith("<")||h(this.semver,">",c.semver,m)&&this.operator.startsWith("<")&&c.operator.startsWith(">")))}};t.exports=n;var o=De(),{safeRe:a,t:l}=ae(),h=rr(),s=de(),i=U(),I=X()}}),ve=L({"../../node_modules/semver/functions/satisfies.js"(e,t){var r=X(),n=(o,a,l)=>{try{a=new r(a,l)}catch{return!1}return a.test(o)};t.exports=n}}),Qr=L({"../../node_modules/semver/ranges/to-comparators.js"(e,t){var r=X(),n=(o,a)=>new r(o,a).set.map(l=>l.map(h=>h.value).join(" ").trim().split(" "));t.exports=n}}),et=L({"../../node_modules/semver/ranges/max-satisfying.js"(e,t){var r=U(),n=X(),o=(a,l,h)=>{let s=null,i=null,I=null;try{I=new n(l,h)}catch{return null}return a.forEach(u=>{I.test(u)&&(!s||i.compare(u)===-1)&&(s=u,i=new r(s,h))}),s};t.exports=o}}),rt=L({"../../node_modules/semver/ranges/min-satisfying.js"(e,t){var r=U(),n=X(),o=(a,l,h)=>{let s=null,i=null,I=null;try{I=new n(l,h)}catch{return null}return a.forEach(u=>{I.test(u)&&(!s||i.compare(u)===1)&&(s=u,i=new r(s,h))}),s};t.exports=o}}),tt=L({"../../node_modules/semver/ranges/min-version.js"(e,t){var r=U(),n=X(),o=fe(),a=(l,h)=>{l=new n(l,h);let s=new r("0.0.0");if(l.test(s)||(s=new r("0.0.0-0"),l.test(s)))return s;s=null;for(let i=0;i {let m=new r(c.semver.version);switch(c.operator){case">":m.prerelease.length===0?m.patch++:m.prerelease.push(0),m.raw=m.format();case"":case">=":(!u||o(m,u))&&(u=m);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${c.operator}`)}}),u&&(!s||o(s,u))&&(s=u)}return s&&l.test(s)?s:null};t.exports=a}}),st=L({"../../node_modules/semver/ranges/valid.js"(e,t){var r=X(),n=(o,a)=>{try{return new r(o,a).range||"*"}catch{return null}};t.exports=n}}),ke=L({"../../node_modules/semver/ranges/outside.js"(e,t){var r=U(),n=Ee(),{ANY:o}=n,a=X(),l=ve(),h=fe(),s=je(),i=Ue(),I=be(),u=(c,m,p,f)=>{c=new r(c,f),m=new a(m,f);let T,N,S,x,G;switch(p){case">":T=h,N=i,S=s,x=">",G=">=";break;case"<":T=s,N=I,S=h,x="<",G="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(l(c,m,f))return!1;for(let D=0;D {j.semver===o&&(j=new n(">=0.0.0")),k=k||j,P=P||j,T(j.semver,k.semver,f)?k=j:S(j.semver,P.semver,f)&&(P=j)}),k.operator===x||k.operator===G||(!P.operator||P.operator===x)&&N(c,P.semver)||P.operator===G&&S(c,P.semver))return!1}return!0};t.exports=u}}),nt=L({"../../node_modules/semver/ranges/gtr.js"(e,t){var r=ke(),n=(o,a,l)=>r(o,a,">",l);t.exports=n}}),at=L({"../../node_modules/semver/ranges/ltr.js"(e,t){var r=ke(),n=(o,a,l)=>r(o,a,"<",l);t.exports=n}}),it=L({"../../node_modules/semver/ranges/intersects.js"(e,t){var r=X(),n=(o,a,l)=>(o=new r(o,l),a=new r(a,l),o.intersects(a,l));t.exports=n}}),ot=L({"../../node_modules/semver/ranges/simplify.js"(e,t){var r=ve(),n=M();t.exports=(o,a,l)=>{let h=[],s=null,i=null,I=o.sort((p,f)=>n(p,f,l));for(let p of I)r(p,a,l)?(i=p,s||(s=p)):(i&&h.push([s,i]),i=null,s=null);s&&h.push([s,null]);let u=[];for(let[p,f]of h)p===f?u.push(p):!f&&p===I[0]?u.push("*"):f?p===I[0]?u.push(`<=${f}`):u.push(`${p} - ${f}`):u.push(`>=${p}`);let c=u.join(" || "),m=typeof a.raw=="string"?a.raw:String(a);return c.length {if(m===p)return!0;m=new r(m,f),p=new r(p,f);let T=!1;e:for(let N of m.set){for(let S of p.set){let x=I(N,S,f);if(T=T||x!==null,x)continue e}if(T)return!1}return!0},s=[new n(">=0.0.0-0")],i=[new n(">=0.0.0")],I=(m,p,f)=>{if(m===p)return!0;if(m.length===1&&m[0].semver===o){if(p.length===1&&p[0].semver===o)return!0;f.includePrerelease?m=s:m=i}if(p.length===1&&p[0].semver===o){if(f.includePrerelease)return!0;p=i}let T=new Set,N,S;for(let w of m)w.operator===">"||w.operator===">="?N=u(N,w,f):w.operator==="<"||w.operator==="<="?S=c(S,w,f):T.add(w.semver);if(T.size>1)return null;let x;if(N&&S&&(x=l(N.semver,S.semver,f),x>0||x===0&&(N.operator!==">="||S.operator!=="<=")))return null;for(let w of T){if(N&&!a(w,String(N),f)||S&&!a(w,String(S),f))return null;for(let J of p)if(!a(w,String(J),f))return!1;return!0}let G,D,W,k,P=S&&!f.includePrerelease&&S.semver.prerelease.length?S.semver:!1,j=N&&!f.includePrerelease&&N.semver.prerelease.length?N.semver:!1;P&&P.prerelease.length===1&&S.operator==="<"&&P.prerelease[0]===0&&(P=!1);for(let w of p){if(k=k||w.operator===">"||w.operator===">=",W=W||w.operator==="<"||w.operator==="<=",N){if(j&&w.semver.prerelease&&w.semver.prerelease.length&&w.semver.major===j.major&&w.semver.minor===j.minor&&w.semver.patch===j.patch&&(j=!1),w.operator===">"||w.operator===">="){if(G=u(N,w,f),G===w&&G!==N)return!1}else if(N.operator===">="&&!a(N.semver,String(w),f))return!1}if(S){if(P&&w.semver.prerelease&&w.semver.prerelease.length&&w.semver.major===P.major&&w.semver.minor===P.minor&&w.semver.patch===P.patch&&(P=!1),w.operator==="<"||w.operator==="<="){if(D=c(S,w,f),D===w&&D!==S)return!1}else if(S.operator==="<="&&!a(S.semver,String(w),f))return!1}if(!w.operator&&(S||N)&&x!==0)return!1}return!(N&&W&&!S&&x!==0||S&&k&&!N&&x!==0||j||P)},u=(m,p,f)=>{if(!m)return p;let T=l(m.semver,p.semver,f);return T>0?m:T<0||p.operator===">"&&m.operator===">="?p:m},c=(m,p,f)=>{if(!m)return p;let T=l(m.semver,p.semver,f);return T<0?m:T>0||p.operator==="<"&&m.operator==="<="?p:m};t.exports=h}}),ut=L({"../../node_modules/semver/index.js"(e,t){var r=ae(),n=he(),o=U(),a=Je(),l=Z(),h=Fr(),s=qr(),i=Gr(),I=Mr(),u=Xr(),c=Vr(),m=Yr(),p=Wr(),f=M(),T=Hr(),N=Br(),S=Pe(),x=Kr(),G=zr(),D=fe(),W=je(),k=Qe(),P=er(),j=be(),w=Ue(),J=rr(),Re=Zr(),ge=Ee(),Ie=X(),$e=ve(),E=Qr(),d=et(),g=rt(),v=tt(),$=st(),R=ke(),_=nt(),y=at(),O=it(),A=ot(),C=lt();t.exports={parse:l,valid:h,clean:s,inc:i,diff:I,major:u,minor:c,patch:m,prerelease:p,compare:f,rcompare:T,compareLoose:N,compareBuild:S,sort:x,rsort:G,gt:D,lt:W,eq:k,neq:P,gte:j,lte:w,cmp:J,coerce:Re,Comparator:ge,Range:Ie,satisfies:$e,toComparators:E,maxSatisfying:d,minSatisfying:g,minVersion:v,validRange:$,outside:R,gtr:_,ltr:y,intersects:O,simplifyRange:A,subset:C,SemVer:o,re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:n.SEMVER_SPEC_VERSION,RELEASE_TYPES:n.RELEASE_TYPES,compareIdentifiers:a.compareIdentifiers,rcompareIdentifiers:a.rcompareIdentifiers}}}),pt={};sr(pt,{decorators:()=>vt,mount:()=>ft,parameters:()=>Et,render:()=>ct,renderToCanvas:()=>dt});var Me=nr(ut()),ct=(e,t)=>{let{id:r,component:n}=t;if(!n)throw new Error(`Unable to render story ${r} as the component annotation is missing from the default export`);return re.createElement(n,{...e})};function mt(){return globalThis.IS_REACT_ACT_ENVIRONMENT}var{FRAMEWORK_OPTIONS:Ne}=kr,ht=class extends Y.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidMount(){let{hasError:e}=this.state,{showMain:t}=this.props;e||t()}componentDidCatch(e){let{showException:t}=this.props;t(e)}render(){let{hasError:e}=this.state,{children:t}=this.props;return e?null:t}},Xe=Ne!=null&&Ne.strictMode?Y.StrictMode:Y.Fragment;async function dt({storyContext:e,unboundStoryFn:t,showMain:r,showException:n,forceRemount:o},a){var u,c;let{renderElement:l,unmountElement:h}=await tr(async()=>{const{renderElement:m,unmountElement:p}=await import("./react-18-Dbhu8A1k.js");return{renderElement:m,unmountElement:p}},__vite__mapDeps([0,1,2,3]),import.meta.url),s=t,i=mt()?re.createElement(s,{...e}):re.createElement(ht,{showMain:r,showException:n},re.createElement(s,{...e})),I=Xe?re.createElement(Xe,null,i):i;return o&&h(a),await l(I,a,(c=(u=e==null?void 0:e.parameters)==null?void 0:u.react)==null?void 0:c.rootOptions),()=>h(a)}var ft=e=>async t=>(t!=null&&(e.originalStoryFn=()=>t),await e.renderToCanvas(),e.canvas),Et={renderer:"react"},vt=[(e,t)=>{var o,a;if(!((a=(o=t.parameters)==null?void 0:o.react)!=null&&a.rsc))return Y.createElement(e,null);let r=Me.default.major(Y.version),n=Me.default.minor(Y.version);if(r<18||r===18&&n<3)throw new Error("React Server Components require React >= 18.3");return Y.createElement(Y.Suspense,null,Y.createElement(e,null))}];export{vt as decorators,ft as mount,Et as parameters,ct as render,dt as renderToCanvas}; diff --git a/demo-DES-998-multiple-terms/assets/favicon.docs-hsfeTEzS.js b/demo-DES-998-multiple-terms/assets/favicon.docs-Bfch9Uf3.js similarity index 93% rename from demo-DES-998-multiple-terms/assets/favicon.docs-hsfeTEzS.js rename to demo-DES-998-multiple-terms/assets/favicon.docs-Bfch9Uf3.js index 86c9d010a7..3ac1f200fe 100644 --- a/demo-DES-998-multiple-terms/assets/favicon.docs-hsfeTEzS.js +++ b/demo-DES-998-multiple-terms/assets/favicon.docs-Bfch9Uf3.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as o}from"./index-BSj771as.js";import{ae as t}from"./index-B5EKLMoC.js";import{F as a,S as r,A as l}from"./AppIcons-Drnt0SBs.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-spVqZGXB.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CBft-ReK.js";import"./index-DrFu-skq.js";import"./index.esm-D6d_HQky.js";import"./clsx-B-dksMZM.js";import"./index.esm-aJhbD0if.js";/*@license CC0-1.0*/function i(s){const n={a:"a",blockquote:"blockquote",code:"code",em:"em",h1:"h1",h2:"h2",h3:"h3",li:"li",p:"p",pre:"pre",ul:"ul",...o(),...s.components};return e.jsxs(e.Fragment,{children:[` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as o}from"./index-BSj771as.js";import{ae as t}from"./index-6XS0o-Ju.js";import{F as a,S as r,A as l}from"./AppIcons-B4p-oez6.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-Cvsd4EMb.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-Cka35VEH.js";import"./clsx-B-dksMZM.js";import"./index.esm-DE9QoVc-.js";/*@license CC0-1.0*/function i(s){const n={a:"a",blockquote:"blockquote",code:"code",em:"em",h1:"h1",h2:"h2",h3:"h3",li:"li",p:"p",pre:"pre",ul:"ul",...o(),...s.components};return e.jsxs(e.Fragment,{children:[` `,` `,e.jsx(t,{title:"Brand/Assets/Favicon"}),` `,e.jsx(n.h1,{id:"favicon",children:"Favicon"}),` diff --git a/demo-DES-998-multiple-terms/assets/font.docs-CXFZ5ybD.js b/demo-DES-998-multiple-terms/assets/font.docs-BxwR4Zd0.js similarity index 93% rename from demo-DES-998-multiple-terms/assets/font.docs-CXFZ5ybD.js rename to demo-DES-998-multiple-terms/assets/font.docs-BxwR4Zd0.js index d2800681fd..2331458943 100644 --- a/demo-DES-998-multiple-terms/assets/font.docs-CXFZ5ybD.js +++ b/demo-DES-998-multiple-terms/assets/font.docs-BxwR4Zd0.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as o}from"./index-BSj771as.js";import{ae as i,af as r}from"./index-B5EKLMoC.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-spVqZGXB.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CBft-ReK.js";import"./index-DrFu-skq.js";/*@license CC0-1.0*/function t(s){const n={a:"a",code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...o(),...s.components};return e.jsxs(e.Fragment,{children:[` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as o}from"./index-BSj771as.js";import{ae as i,af as r}from"./index-6XS0o-Ju.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-Cvsd4EMb.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";/*@license CC0-1.0*/function t(s){const n={a:"a",code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...o(),...s.components};return e.jsxs(e.Fragment,{children:[` `,` `,e.jsx(i,{title:"Brand/Assets/Font"}),` `,e.jsx(n.h1,{id:"font",children:"Font"}),` diff --git a/demo-DES-998-multiple-terms/assets/getting-started.docs-BmQZcbmD.js b/demo-DES-998-multiple-terms/assets/getting-started.docs-Bs-J88v5.js similarity index 92% rename from demo-DES-998-multiple-terms/assets/getting-started.docs-BmQZcbmD.js rename to demo-DES-998-multiple-terms/assets/getting-started.docs-Bs-J88v5.js index 561df5b01e..e07f4ad001 100644 --- a/demo-DES-998-multiple-terms/assets/getting-started.docs-BmQZcbmD.js +++ b/demo-DES-998-multiple-terms/assets/getting-started.docs-Bs-J88v5.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as r}from"./index-BSj771as.js";import{ae as a}from"./index-B5EKLMoC.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-spVqZGXB.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CBft-ReK.js";import"./index-DrFu-skq.js";/*@license CC0-1.0*/function n(s){const t={a:"a",code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",strong:"strong",...r(),...s.components};return e.jsxs(e.Fragment,{children:[` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as r}from"./index-BSj771as.js";import{ae as a}from"./index-6XS0o-Ju.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-Cvsd4EMb.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";/*@license CC0-1.0*/function n(s){const t={a:"a",code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",strong:"strong",...r(),...s.components};return e.jsxs(e.Fragment,{children:[` `,` `,e.jsx(a,{title:"Docs/Developer Guide/Getting Started"}),` `,e.jsx(t.h1,{id:"getting-started",children:"Getting Started"}),` diff --git a/demo-DES-998-multiple-terms/assets/grid.docs-QmUBPzNg.js b/demo-DES-998-multiple-terms/assets/grid.docs-b522fYTP.js similarity index 98% rename from demo-DES-998-multiple-terms/assets/grid.docs-QmUBPzNg.js rename to demo-DES-998-multiple-terms/assets/grid.docs-b522fYTP.js index 14155f2dfd..492c153412 100644 --- a/demo-DES-998-multiple-terms/assets/grid.docs-QmUBPzNg.js +++ b/demo-DES-998-multiple-terms/assets/grid.docs-b522fYTP.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as l}from"./index-B5EKLMoC.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-spVqZGXB.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CBft-ReK.js";import"./index-DrFu-skq.js";/*@license CC0-1.0*/function n(i){const t={a:"a",h1:"h1",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...s(),...i.components};return e.jsxs(e.Fragment,{children:[` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as l}from"./index-6XS0o-Ju.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-Cvsd4EMb.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";/*@license CC0-1.0*/function n(i){const t={a:"a",h1:"h1",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...s(),...i.components};return e.jsxs(e.Fragment,{children:[` `,` `,e.jsx(l,{title:"Brand/Design Tokens/Grid"}),` `,e.jsx(t.h1,{id:"grid",children:"Grid"}),` diff --git a/demo-DES-998-multiple-terms/assets/icons.docs-BXR82Qhw.js b/demo-DES-998-multiple-terms/assets/icons.docs-juqnMdkg.js similarity index 82% rename from demo-DES-998-multiple-terms/assets/icons.docs-BXR82Qhw.js rename to demo-DES-998-multiple-terms/assets/icons.docs-juqnMdkg.js index 7112bf1fc9..c153c9cb56 100644 --- a/demo-DES-998-multiple-terms/assets/icons.docs-BXR82Qhw.js +++ b/demo-DES-998-multiple-terms/assets/icons.docs-juqnMdkg.js @@ -1,4 +1,4 @@ -import{j as n}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as r}from"./index-BSj771as.js";import{au as i,av as c,ae as a}from"./index-B5EKLMoC.js";import{I as s}from"./index.esm-aJhbD0if.js";import{I as m}from"./Icon-D1obyjGa.js";import{S as l}from"./StatusBadge-_VA1BtQE.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-spVqZGXB.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CBft-ReK.js";import"./index-DrFu-skq.js";import"./clsx-B-dksMZM.js";import"./Badge-Cg5Q2pVP.js";const p=()=>{const t=Object.keys(s);return n.jsx(i,{children:t.map(o=>n.jsx(c,{name:o.substring(0,o.length-4),children:n.jsx(m,{svg:s[o]})},o))})};/*@license CC0-1.0*/function e(t){const o={a:"a",h1:"h1",h2:"h2",li:"li",p:"p",ul:"ul",...r(),...t.components};return n.jsxs(n.Fragment,{children:[` +import{j as n}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as r}from"./index-BSj771as.js";import{au as i,av as c,ae as a}from"./index-6XS0o-Ju.js";import{I as s}from"./index.esm-DE9QoVc-.js";import{I as m}from"./Icon-D1obyjGa.js";import{S as l}from"./StatusBadge-_VA1BtQE.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-Cvsd4EMb.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./clsx-B-dksMZM.js";import"./Badge-Cg5Q2pVP.js";const p=()=>{const t=Object.keys(s);return n.jsx(i,{children:t.map(o=>n.jsx(c,{name:o.substring(0,o.length-4),children:n.jsx(m,{svg:s[o]})},o))})};/*@license CC0-1.0*/function e(t){const o={a:"a",h1:"h1",h2:"h2",li:"li",p:"p",ul:"ul",...r(),...t.components};return n.jsxs(n.Fragment,{children:[` `,` `,n.jsx(a,{title:"Brand/Assets/Icons"}),` `,n.jsx(l,{reason:"The set of available icons will change."}),` diff --git a/demo-DES-998-multiple-terms/assets/iframe-spVqZGXB.js b/demo-DES-998-multiple-terms/assets/iframe-Cvsd4EMb.js similarity index 55% rename from demo-DES-998-multiple-terms/assets/iframe-spVqZGXB.js rename to demo-DES-998-multiple-terms/assets/iframe-Cvsd4EMb.js index a5c02eda1e..9d1e9f46dd 100644 --- a/demo-DES-998-multiple-terms/assets/iframe-spVqZGXB.js +++ b/demo-DES-998-multiple-terms/assets/iframe-Cvsd4EMb.js @@ -1,2 +1,2 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Accordion.docs-B9lxutU7.js","./jsx-runtime-j_jdvEMj.js","./index-B-o1Wr-g.js","./_commonjsHelpers-Cpj98o6Y.js","./index-BSj771as.js","./index-B5EKLMoC.js","./index-DolzVqEf.js","./index-D-8MO0q_.js","./index-CBft-ReK.js","./index-DrFu-skq.js","./Accordion.stories-CnAkRyZW.js","./index.esm-D6d_HQky.js","./clsx-B-dksMZM.js","./index.esm-aJhbD0if.js","./exampleContent-hIIPvEhU.js","./getHeadingTag-Dv1eMqvl.js","./Icon-D1obyjGa.js","./useKeyboardFocus-CRUFsA_C.js","./ActionGroup.docs-CBk4c90G.js","./ActionGroup.stories-B7o-CQB0.js","./Alert.docs-CLQqfK7m.js","./Alert.stories-M2UyNmI3.js","./Alert-CPUJQpfK.js","./Heading-BMR-3CH3.js","./IconButton-D1dmx4BZ.js","./Avatar.docs-D3xz7Hxl.js","./Avatar.stories-DLeWMtaV.js","./Image-BeIE0HQj.js","./Badge.docs-DJuozomj.js","./Badge.stories-Ci6b1rp5.js","./Badge-Cg5Q2pVP.js","./Blockquote.docs-CXW0GFnt.js","./Blockquote.stories-z9MN-vzr.js","./Breadcrumb.docs-B_jLLJUm.js","./Breadcrumb.stories-EowaNKYC.js","./Breakout.docs-CLUWnqyL.js","./Breakout.stories-LoJHwrcU.js","./paddingClasses-C5gheHLv.js","./Button.docs-Bq_FukeD.js","./Button.stories-C0Kj5V8x.js","./Button-CLCAbUHj.js","./Card.docs-BTGJ_DI1.js","./Card.stories-5GSnvwgl.js","./Paragraph-DZy4cHOZ.js","./CharacterCount.docs-VBwANDdm.js","./CharacterCount.stories-BuZ7Uh_6.js","./Checkbox.docs-TQmNejfk.js","./Checkbox.stories-CpNdHlfF.js","./Column.docs-NaIFMJQs.js","./Column.stories-xq1g0D7C.js","./types-B5YJ6HHW.js","./DateInput.docs-BXAHMg7z.js","./DateInput.stories-vJrPkFrz.js","./DescriptionList.docs-CoozlrT-.js","./DescriptionList.stories-C70mOfdS.js","./Dialog.docs-BO4dAAzl.js","./Dialog.stories-CEoZ9cCV.js","./ErrorMessage.docs-qurhpWPV.js","./ErrorMessage.stories-CEH1hJos.js","./Field.docs-CQvmvBJf.js","./Field.stories-CxxHaxe6.js","./FieldSet.docs-BNXQ2bAD.js","./FieldSet.stories-GVn8-yTj.js","./Hint-rQy8SNzx.js","./FileInput.docs-uDbV5Z7i.js","./FileInput.stories-D-CIKeHT.js","./Footer.docs-CU4gqYQw.js","./Footer.stories-CKjtyU7k.js","./PageMenu.stories-COeKrXxC.js","./Spotlight-DZdLn00J.js","./FormErrorList.docs-DJZMt3lx.js","./FormErrorList.stories-CE0uTyzV.js","./LinkList-Cw75Qyqz.js","./Grid.docs-DRUgu8rU.js","./Grid.stories-XPw0ZMEG.js","./Header.docs-CJkme6cW.js","./Header.stories-Crc_iCvp.js","./Logo-BnxYOw7m.js","./StatusBadge-_VA1BtQE.js","./StatusBadge-BPsnsflc.css","./Heading.docs-D8CsXVH4.js","./Heading.stories-DTrE2tqo.js","./Icon.docs-B8sLqUoi.js","./Icon.stories-DF0_kgPE.js","./IconButton.docs-DkdDi6xG.js","./IconButton.stories-B--DLrjh.js","./Image.docs-BauSyMIC.js","./Image.stories-0Zmcnj6n.js","./ImageSlider.docs-DH1ejU9S.js","./ImageSlider.stories-Cttxhutu.js","./Label.docs-DHW-bSJT.js","./Label.stories-Dcrx0ofz.js","./Link.docs-DQFJKXAB.js","./Link.stories-Cnor17l1.js","./LinkList.docs-Bmz2H6RQ.js","./LinkList.stories-CP50kc2m.js","./Logo.docs-IzP_kMwY.js","./Logo.stories-1D2Iq0g9.js","./Mark.docs-FDpr3LOP.js","./Mark.stories-C5KOTO9t.js","./MegaMenu.docs-jhc6fqR2.js","./MegaMenu.stories-DA-hm3uh.js","./OrderedList.docs-9MrzN1cu.js","./OrderedList.stories-BnwfYDlW.js","./Overlap.docs-DE_Jc8p8.js","./Overlap.stories-DinbDqh5.js","./PageHeading.docs-DLEdvZgs.js","./PageHeading.stories-BmEmYOYu.js","./PageMenu.docs-uvH7PKCo.js","./Pagination.docs-Cb5MXExb.js","./Pagination.stories-BjPxD6FX.js","./Paragraph.docs-sfkIGsgj.js","./Paragraph.stories-BthwCSgv.js","./PasswordInput.docs-BMdmAEPU.js","./PasswordInput.stories-BpX5DDhu.js","./Radio.docs-BLlrW6fD.js","./Radio.stories-C1gch255.js","./Row.docs-Bel7TByT.js","./Row.stories-0RHc791k.js","./Screen.docs-Dyap8m4r.js","./Screen.stories-DBafdEz8.js","./SearchField.docs-DbaqzaIJ.js","./SearchField.stories-lpCCBc6Z.js","./Select.docs-DJc0T_3J.js","./Select.stories-oWYWic1U.js","./SkipLink.docs-D0pWUY6q.js","./SkipLink.stories-C4EjK4GQ.js","./Spotlight.docs-CiKHAcrk.js","./Spotlight.stories-DkxCva2s.js","./Switch.docs-DJ6c2xPP.js","./Switch.stories-C_7_fA0r.js","./Table.docs-BPj737Om.js","./Table.stories-BhkPPk6Y.js","./TableOfContents.docs-qjTPXLYC.js","./TableOfContents.stories-CDYIQLGg.js","./Tabs.docs-CrXGb6-K.js","./Tabs.stories-BS6bFV_b.js","./TextArea.docs-B1Okjq8d.js","./TextArea.stories-60vHS1pG.js","./TextInput.docs-DPmnbEoh.js","./TextInput.stories-yC0Ahrt8.js","./TimeInput.docs-DEgeo0PP.js","./TimeInput.stories-tIwAmabE.js","./TopTaskLink.docs-wTAn6syc.js","./TopTaskLink.stories-BVSEJWGT.js","./UnorderedList.docs-Dlmh_GBv.js","./UnorderedList.stories-BXvQ-Hgc.js","./breakpoints.docs-DXrk5ru_.js","./getting-started.docs-BmQZcbmD.js","./interactivity.docs-B7nbrsnt.js","./language.docs-Dvd6-R4_.js","./routing-libraries.docs-DEgIQPnL.js","./usability.docs-B95TlHT4.js","./web-app.docs-CYlLF50d.js","./AppIcons-Drnt0SBs.js","./introduction.docs-Ci_Mpa2M.js","./copyright.docs-C1MJ-Sb0.js","./license.docs-BUgRKs2G.js","./favicon.docs-hsfeTEzS.js","./font.docs-CXFZ5ybD.js","./icons.docs-BXR82Qhw.js","./aspect-ratio.docs-JNRPDYA0.js","./border.docs-Xjl98yhl.js","./colour.docs-QhqTMpvf.js","./colour-DMO0xpAR.css","./grid.docs-QmUBPzNg.js","./space.docs-D6ClFum6.js","./text.docs-CsitGwD0.js","./Introduction.docs-BUKEbYot.js","./ArticlePage.docs-C6_c4X8h.js","./ArticlePage.stories-BBRgMPRq.js","./config-COLIM-R_.js","./FormPage.docs-Vv7envTv.js","./FormPage.stories-CLVcGEuw.js","./HomePage.docs-CVGWDuJl.js","./HomePage.stories-m9YHc3UD.js","./AspectRatio.docs-Cgte0wlz.js","./AspectRatio.stories-1YKRPR3L.js","./Gap.docs-Bvnhk-Xf.js","./Gap.stories-DjTccrrj.js","./Margin.docs-BZNKlau0.js","./Margin.stories-Cl3DZJ6a.js","./VisuallyHidden.docs-CISyzmbA.js","./VisuallyHidden.stories-h6seqx8F.js","./entry-preview-B8A2eQQq.js","./chunk-XP5HYGXS-CzPF9ozp.js","./entry-preview-docs-DQGuIQVH.js","./preview-BhhEZcNS.js","./preview-D77C14du.js","./preview-BWzBA1C2.js","./preview-sOlVsnCo.js","./preview-z-2Ge3-F.css"])))=>i.map(i=>d[i]); -import"../sb-preview/runtime.js";(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))a(o);new MutationObserver(o=>{for(const e of o)if(e.type==="childList")for(const _ of e.addedNodes)_.tagName==="LINK"&&_.rel==="modulepreload"&&a(_)}).observe(document,{childList:!0,subtree:!0});function c(o){const e={};return o.integrity&&(e.integrity=o.integrity),o.referrerPolicy&&(e.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?e.credentials="include":o.crossOrigin==="anonymous"?e.credentials="omit":e.credentials="same-origin",e}function a(o){if(o.ep)return;o.ep=!0;const e=c(o);fetch(o.href,e)}})();const T="modulepreload",I=function(r,i){return new URL(r,i).href},L={},t=function(i,c,a){let o=Promise.resolve();if(c&&c.length>0){const _=document.getElementsByTagName("link"),s=document.querySelector("meta[property=csp-nonce]"),l=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));o=Promise.allSettled(c.map(m=>{if(m=I(m,a),m in L)return;L[m]=!0;const p=m.endsWith(".css"),O=p?'[rel="stylesheet"]':"";if(!!a)for(let d=_.length-1;d>=0;d--){const u=_[d];if(u.href===m&&(!p||u.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${m}"]${O}`))return;const n=document.createElement("link");if(n.rel=p?"stylesheet":T,p||(n.as="script"),n.crossOrigin="",n.href=m,l&&n.setAttribute("nonce",l),document.head.appendChild(n),p)return new Promise((d,u)=>{n.addEventListener("load",d),n.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${m}`)))})}))}function e(_){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=_,window.dispatchEvent(s),!s.defaultPrevented)throw _}return o.then(_=>{for(const s of _||[])s.status==="rejected"&&e(s.reason);return i().catch(e)})},{createBrowserChannel:P}=__STORYBOOK_MODULE_CHANNELS__,{addons:R}=__STORYBOOK_MODULE_PREVIEW_API__,E=P({page:"preview"});R.setChannel(E);window.__STORYBOOK_ADDONS_CHANNEL__=E;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=E);const A={"./src/components/Accordion/Accordion.docs.mdx":async()=>t(()=>import("./Accordion.docs-B9lxutU7.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]),import.meta.url),"./src/components/Accordion/Accordion.stories.tsx":async()=>t(()=>import("./Accordion.stories-CnAkRyZW.js").then(r=>r.A),__vite__mapDeps([10,1,2,3,11,12,13,14,15,16,17]),import.meta.url),"./src/components/ActionGroup/ActionGroup.docs.mdx":async()=>t(()=>import("./ActionGroup.docs-CBk4c90G.js"),__vite__mapDeps([18,1,2,3,4,5,6,7,8,9,19,11,12,13]),import.meta.url),"./src/components/ActionGroup/ActionGroup.stories.tsx":async()=>t(()=>import("./ActionGroup.stories-B7o-CQB0.js").then(r=>r.A),__vite__mapDeps([19,1,2,3,11,12,13]),import.meta.url),"./src/components/Alert/Alert.docs.mdx":async()=>t(()=>import("./Alert.docs-CLQqfK7m.js"),__vite__mapDeps([20,1,2,3,4,5,6,7,8,9,21,11,12,13,22,16,23,15,24]),import.meta.url),"./src/components/Alert/Alert.stories.tsx":async()=>t(()=>import("./Alert.stories-M2UyNmI3.js").then(r=>r.A),__vite__mapDeps([21,1,2,3,11,12,13,22,16,23,15,24]),import.meta.url),"./src/components/Avatar/Avatar.docs.mdx":async()=>t(()=>import("./Avatar.docs-D3xz7Hxl.js"),__vite__mapDeps([25,1,2,3,4,5,6,7,8,9,26,11,12,13,27,16]),import.meta.url),"./src/components/Avatar/Avatar.stories.tsx":async()=>t(()=>import("./Avatar.stories-DLeWMtaV.js").then(r=>r.A),__vite__mapDeps([26,1,2,3,11,12,13,27,16]),import.meta.url),"./src/components/Badge/Badge.docs.mdx":async()=>t(()=>import("./Badge.docs-DJuozomj.js"),__vite__mapDeps([28,1,2,3,4,5,6,7,8,9,29,30,12]),import.meta.url),"./src/components/Badge/Badge.stories.tsx":async()=>t(()=>import("./Badge.stories-Ci6b1rp5.js").then(r=>r.B),__vite__mapDeps([29,30,1,2,3,12]),import.meta.url),"./src/components/Blockquote/Blockquote.docs.mdx":async()=>t(()=>import("./Blockquote.docs-CXW0GFnt.js"),__vite__mapDeps([31,1,2,3,4,5,6,7,8,9,32,14,12]),import.meta.url),"./src/components/Blockquote/Blockquote.stories.tsx":async()=>t(()=>import("./Blockquote.stories-z9MN-vzr.js").then(r=>r.B),__vite__mapDeps([32,14,1,2,3,12]),import.meta.url),"./src/components/Breadcrumb/Breadcrumb.docs.mdx":async()=>t(()=>import("./Breadcrumb.docs-B_jLLJUm.js"),__vite__mapDeps([33,1,2,3,4,5,6,7,8,9,34,12]),import.meta.url),"./src/components/Breadcrumb/Breadcrumb.stories.tsx":async()=>t(()=>import("./Breadcrumb.stories-EowaNKYC.js").then(r=>r.B),__vite__mapDeps([34,1,2,3,12]),import.meta.url),"./src/components/Breakout/Breakout.docs.mdx":async()=>t(()=>import("./Breakout.docs-CLUWnqyL.js"),__vite__mapDeps([35,1,2,3,4,5,6,7,8,9,36,11,12,13,37]),import.meta.url),"./src/components/Breakout/Breakout.stories.tsx":async()=>t(()=>import("./Breakout.stories-LoJHwrcU.js").then(r=>r.B),__vite__mapDeps([36,1,2,3,11,12,13,37]),import.meta.url),"./src/components/Button/Button.docs.mdx":async()=>t(()=>import("./Button.docs-Bq_FukeD.js"),__vite__mapDeps([38,1,2,3,4,5,6,7,8,9,39,13,40,12,16]),import.meta.url),"./src/components/Button/Button.stories.tsx":async()=>t(()=>import("./Button.stories-C0Kj5V8x.js").then(r=>r.B),__vite__mapDeps([39,1,2,3,13,40,12,16]),import.meta.url),"./src/components/Card/Card.docs.mdx":async()=>t(()=>import("./Card.docs-BTGJ_DI1.js"),__vite__mapDeps([41,1,2,3,4,5,6,7,8,9,42,11,12,13,14,43]),import.meta.url),"./src/components/Card/Card.stories.tsx":async()=>t(()=>import("./Card.stories-5GSnvwgl.js").then(r=>r.C),__vite__mapDeps([42,1,2,3,11,12,13,14,43]),import.meta.url),"./src/components/CharacterCount/CharacterCount.docs.mdx":async()=>t(()=>import("./CharacterCount.docs-VBwANDdm.js"),__vite__mapDeps([44,1,2,3,4,5,6,7,8,9,45,12]),import.meta.url),"./src/components/CharacterCount/CharacterCount.stories.tsx":async()=>t(()=>import("./CharacterCount.stories-BuZ7Uh_6.js").then(r=>r.C),__vite__mapDeps([45,1,2,3,12]),import.meta.url),"./src/components/Checkbox/Checkbox.docs.mdx":async()=>t(()=>import("./Checkbox.docs-TQmNejfk.js"),__vite__mapDeps([46,1,2,3,4,5,6,7,8,9,47,11,12,13]),import.meta.url),"./src/components/Checkbox/Checkbox.stories.tsx":async()=>t(()=>import("./Checkbox.stories-CpNdHlfF.js").then(r=>r.C),__vite__mapDeps([47,1,2,3,11,12,13]),import.meta.url),"./src/components/Column/Column.docs.mdx":async()=>t(()=>import("./Column.docs-NaIFMJQs.js"),__vite__mapDeps([48,1,2,3,4,5,6,7,8,9,49,11,12,13,50]),import.meta.url),"./src/components/Column/Column.stories.tsx":async()=>t(()=>import("./Column.stories-xq1g0D7C.js").then(r=>r.C),__vite__mapDeps([49,1,2,3,11,12,13,50]),import.meta.url),"./src/components/DateInput/DateInput.docs.mdx":async()=>t(()=>import("./DateInput.docs-BXAHMg7z.js"),__vite__mapDeps([51,1,2,3,4,5,6,7,8,9,52,11,12,13]),import.meta.url),"./src/components/DateInput/DateInput.stories.tsx":async()=>t(()=>import("./DateInput.stories-vJrPkFrz.js").then(r=>r.D),__vite__mapDeps([52,1,2,3,11,12,13]),import.meta.url),"./src/components/DescriptionList/DescriptionList.docs.mdx":async()=>t(()=>import("./DescriptionList.docs-CoozlrT-.js"),__vite__mapDeps([53,1,2,3,4,5,6,7,8,9,54,11,12,13]),import.meta.url),"./src/components/DescriptionList/DescriptionList.stories.tsx":async()=>t(()=>import("./DescriptionList.stories-C70mOfdS.js").then(r=>r.D),__vite__mapDeps([54,1,2,3,11,12,13]),import.meta.url),"./src/components/Dialog/Dialog.docs.mdx":async()=>t(()=>import("./Dialog.docs-BO4dAAzl.js"),__vite__mapDeps([55,1,2,3,4,5,6,7,8,9,56,11,12,13,23,15,24,16]),import.meta.url),"./src/components/Dialog/Dialog.stories.tsx":async()=>t(()=>import("./Dialog.stories-CEoZ9cCV.js").then(r=>r.D),__vite__mapDeps([56,1,2,3,11,12,13,23,15,24,16]),import.meta.url),"./src/components/ErrorMessage/ErrorMessage.docs.mdx":async()=>t(()=>import("./ErrorMessage.docs-qurhpWPV.js"),__vite__mapDeps([57,1,2,3,4,5,6,7,8,9,58,13,12,16]),import.meta.url),"./src/components/ErrorMessage/ErrorMessage.stories.tsx":async()=>t(()=>import("./ErrorMessage.stories-CEH1hJos.js").then(r=>r.E),__vite__mapDeps([58,13,1,2,3,12,16]),import.meta.url),"./src/components/Field/Field.docs.mdx":async()=>t(()=>import("./Field.docs-CQvmvBJf.js"),__vite__mapDeps([59,1,2,3,4,5,6,7,8,9,60,11,12,13]),import.meta.url),"./src/components/Field/Field.stories.tsx":async()=>t(()=>import("./Field.stories-CxxHaxe6.js").then(r=>r.F),__vite__mapDeps([60,1,2,3,11,12,13]),import.meta.url),"./src/components/FieldSet/FieldSet.docs.mdx":async()=>t(()=>import("./FieldSet.docs-BNXQ2bAD.js"),__vite__mapDeps([61,1,2,3,4,5,6,7,8,9,62,11,12,13,63]),import.meta.url),"./src/components/FieldSet/FieldSet.stories.tsx":async()=>t(()=>import("./FieldSet.stories-GVn8-yTj.js").then(r=>r.F),__vite__mapDeps([62,1,2,3,11,12,13,63]),import.meta.url),"./src/components/FileInput/FileInput.docs.mdx":async()=>t(()=>import("./FileInput.docs-uDbV5Z7i.js"),__vite__mapDeps([64,1,2,3,4,5,6,7,8,9,65,11,12,13]),import.meta.url),"./src/components/FileInput/FileInput.stories.tsx":async()=>t(()=>import("./FileInput.stories-D-CIKeHT.js").then(r=>r.F),__vite__mapDeps([65,1,2,3,11,12,13]),import.meta.url),"./src/components/Footer/Footer.docs.mdx":async()=>t(()=>import("./Footer.docs-CU4gqYQw.js"),__vite__mapDeps([66,1,2,3,4,5,6,7,8,9,67,11,12,13,68,16,69]),import.meta.url),"./src/components/Footer/Footer.stories.tsx":async()=>t(()=>import("./Footer.stories-CKjtyU7k.js").then(r=>r.F),__vite__mapDeps([67,1,2,3,11,12,13,68,16,69]),import.meta.url),"./src/components/FormErrorList/FormErrorList.docs.mdx":async()=>t(()=>import("./FormErrorList.docs-DJZMt3lx.js"),__vite__mapDeps([70,1,2,3,4,5,6,7,8,9,71,12,22,13,16,23,15,24,72]),import.meta.url),"./src/components/FormErrorList/FormErrorList.stories.tsx":async()=>t(()=>import("./FormErrorList.stories-CE0uTyzV.js").then(r=>r.F),__vite__mapDeps([71,1,2,3,12,22,13,16,23,15,24,72]),import.meta.url),"./src/components/Grid/Grid.docs.mdx":async()=>t(()=>import("./Grid.docs-DRUgu8rU.js"),__vite__mapDeps([73,1,2,3,4,5,6,7,8,9,74,12,37]),import.meta.url),"./src/components/Grid/Grid.stories.tsx":async()=>t(()=>import("./Grid.stories-XPw0ZMEG.js").then(r=>r.G),__vite__mapDeps([74,1,2,3,12,37]),import.meta.url),"./src/components/Header/Header.docs.mdx":async()=>t(()=>import("./Header.docs-CJkme6cW.js"),__vite__mapDeps([75,1,2,3,4,5,6,7,8,9,76,11,12,13,77,23,15,78,30,79]),import.meta.url),"./src/components/Header/Header.stories.tsx":async()=>t(()=>import("./Header.stories-Crc_iCvp.js").then(r=>r.H),__vite__mapDeps([76,1,2,3,11,12,13,77,23,15]),import.meta.url),"./src/components/Heading/Heading.docs.mdx":async()=>t(()=>import("./Heading.docs-D8CsXVH4.js"),__vite__mapDeps([80,1,2,3,4,5,6,7,8,9,81,11,12,13,14,23,15]),import.meta.url),"./src/components/Heading/Heading.stories.tsx":async()=>t(()=>import("./Heading.stories-DTrE2tqo.js").then(r=>r.H),__vite__mapDeps([81,1,2,3,11,12,13,14,23,15]),import.meta.url),"./src/components/Icon/Icon.docs.mdx":async()=>t(()=>import("./Icon.docs-B8sLqUoi.js"),__vite__mapDeps([82,1,2,3,4,5,6,7,8,9,83,11,12,13,16,78,30,79]),import.meta.url),"./src/components/Icon/Icon.stories.tsx":async()=>t(()=>import("./Icon.stories-DF0_kgPE.js").then(r=>r.I),__vite__mapDeps([83,1,2,3,11,12,13,16]),import.meta.url),"./src/components/IconButton/IconButton.docs.mdx":async()=>t(()=>import("./IconButton.docs-DkdDi6xG.js"),__vite__mapDeps([84,1,2,3,4,5,6,7,8,9,85,13,24,12,16]),import.meta.url),"./src/components/IconButton/IconButton.stories.tsx":async()=>t(()=>import("./IconButton.stories-B--DLrjh.js").then(r=>r.I),__vite__mapDeps([85,13,1,2,3,24,12,16]),import.meta.url),"./src/components/Image/Image.docs.mdx":async()=>t(()=>import("./Image.docs-BauSyMIC.js"),__vite__mapDeps([86,1,2,3,4,5,6,7,8,9,87,27,12]),import.meta.url),"./src/components/Image/Image.stories.tsx":async()=>t(()=>import("./Image.stories-0Zmcnj6n.js").then(r=>r.I),__vite__mapDeps([87,27,1,2,3,12]),import.meta.url),"./src/components/ImageSlider/ImageSlider.docs.mdx":async()=>t(()=>import("./ImageSlider.docs-DH1ejU9S.js"),__vite__mapDeps([88,1,2,3,4,5,6,7,8,9,89,12,13,24,16,27]),import.meta.url),"./src/components/ImageSlider/ImageSlider.stories.tsx":async()=>t(()=>import("./ImageSlider.stories-Cttxhutu.js").then(r=>r.I),__vite__mapDeps([89,1,2,3,12,13,24,16,27]),import.meta.url),"./src/components/Label/Label.docs.mdx":async()=>t(()=>import("./Label.docs-DHW-bSJT.js"),__vite__mapDeps([90,1,2,3,4,5,6,7,8,9,91,12,63]),import.meta.url),"./src/components/Label/Label.stories.tsx":async()=>t(()=>import("./Label.stories-Dcrx0ofz.js").then(r=>r.L),__vite__mapDeps([91,1,2,3,12,63]),import.meta.url),"./src/components/Link/Link.docs.mdx":async()=>t(()=>import("./Link.docs-DQFJKXAB.js"),__vite__mapDeps([92,1,2,3,4,5,6,7,8,9,93,11,12,13]),import.meta.url),"./src/components/Link/Link.stories.tsx":async()=>t(()=>import("./Link.stories-Cnor17l1.js").then(r=>r.L),__vite__mapDeps([93,1,2,3,11,12,13]),import.meta.url),"./src/components/LinkList/LinkList.docs.mdx":async()=>t(()=>import("./LinkList.docs-Bmz2H6RQ.js"),__vite__mapDeps([94,1,2,3,4,5,6,7,8,9,95,13,14,72,12,16]),import.meta.url),"./src/components/LinkList/LinkList.stories.tsx":async()=>t(()=>import("./LinkList.stories-CP50kc2m.js").then(r=>r.L),__vite__mapDeps([95,1,2,3,13,14,72,12,16]),import.meta.url),"./src/components/Logo/Logo.docs.mdx":async()=>t(()=>import("./Logo.docs-IzP_kMwY.js"),__vite__mapDeps([96,1,2,3,4,5,6,7,8,9,97,77,12]),import.meta.url),"./src/components/Logo/Logo.stories.tsx":async()=>t(()=>import("./Logo.stories-1D2Iq0g9.js").then(r=>r.L),__vite__mapDeps([97,77,1,2,3,12]),import.meta.url),"./src/components/Mark/Mark.docs.mdx":async()=>t(()=>import("./Mark.docs-FDpr3LOP.js"),__vite__mapDeps([98,1,2,3,4,5,6,7,8,9,99,11,12,13]),import.meta.url),"./src/components/Mark/Mark.stories.tsx":async()=>t(()=>import("./Mark.stories-C5KOTO9t.js").then(r=>r.M),__vite__mapDeps([99,1,2,3,11,12,13]),import.meta.url),"./src/components/MegaMenu/MegaMenu.docs.mdx":async()=>t(()=>import("./MegaMenu.docs-jhc6fqR2.js"),__vite__mapDeps([100,1,2,3,4,5,6,7,8,9,101,11,12,13,78,30,79]),import.meta.url),"./src/components/MegaMenu/MegaMenu.stories.tsx":async()=>t(()=>import("./MegaMenu.stories-DA-hm3uh.js").then(r=>r.M),__vite__mapDeps([101,1,2,3,11,12,13]),import.meta.url),"./src/components/OrderedList/OrderedList.docs.mdx":async()=>t(()=>import("./OrderedList.docs-9MrzN1cu.js"),__vite__mapDeps([102,1,2,3,4,5,6,7,8,9,103,11,12,13,14]),import.meta.url),"./src/components/OrderedList/OrderedList.stories.tsx":async()=>t(()=>import("./OrderedList.stories-BnwfYDlW.js").then(r=>r.O),__vite__mapDeps([103,1,2,3,11,12,13,14]),import.meta.url),"./src/components/Overlap/Overlap.docs.mdx":async()=>t(()=>import("./Overlap.docs-DE_Jc8p8.js"),__vite__mapDeps([104,1,2,3,4,5,6,7,8,9,105,11,12,13]),import.meta.url),"./src/components/Overlap/Overlap.stories.tsx":async()=>t(()=>import("./Overlap.stories-DinbDqh5.js").then(r=>r.O),__vite__mapDeps([105,1,2,3,11,12,13]),import.meta.url),"./src/components/PageHeading/PageHeading.docs.mdx":async()=>t(()=>import("./PageHeading.docs-DLEdvZgs.js"),__vite__mapDeps([106,1,2,3,4,5,6,7,8,9,107,12]),import.meta.url),"./src/components/PageHeading/PageHeading.stories.tsx":async()=>t(()=>import("./PageHeading.stories-BmEmYOYu.js").then(r=>r.P),__vite__mapDeps([107,1,2,3,12]),import.meta.url),"./src/components/PageMenu/PageMenu.docs.mdx":async()=>t(()=>import("./PageMenu.docs-uvH7PKCo.js"),__vite__mapDeps([108,1,2,3,4,5,6,7,8,9,68,13,12,16,78,30,79]),import.meta.url),"./src/components/PageMenu/PageMenu.stories.tsx":async()=>t(()=>import("./PageMenu.stories-COeKrXxC.js").then(r=>r.P),__vite__mapDeps([68,1,2,3,13,12,16]),import.meta.url),"./src/components/Pagination/Pagination.docs.mdx":async()=>t(()=>import("./Pagination.docs-Cb5MXExb.js"),__vite__mapDeps([109,1,2,3,4,5,6,7,8,9,110,13,12,16]),import.meta.url),"./src/components/Pagination/Pagination.stories.tsx":async()=>t(()=>import("./Pagination.stories-BjPxD6FX.js").then(r=>r.P),__vite__mapDeps([110,1,2,3,13,12,16]),import.meta.url),"./src/components/Paragraph/Paragraph.docs.mdx":async()=>t(()=>import("./Paragraph.docs-sfkIGsgj.js"),__vite__mapDeps([111,1,2,3,4,5,6,7,8,9,112,14,43,12]),import.meta.url),"./src/components/Paragraph/Paragraph.stories.tsx":async()=>t(()=>import("./Paragraph.stories-BthwCSgv.js").then(r=>r.P),__vite__mapDeps([112,14,43,1,2,3,12]),import.meta.url),"./src/components/PasswordInput/PasswordInput.docs.mdx":async()=>t(()=>import("./PasswordInput.docs-BMdmAEPU.js"),__vite__mapDeps([113,1,2,3,4,5,6,7,8,9,114,11,12,13]),import.meta.url),"./src/components/PasswordInput/PasswordInput.stories.tsx":async()=>t(()=>import("./PasswordInput.stories-BpX5DDhu.js").then(r=>r.P),__vite__mapDeps([114,1,2,3,11,12,13]),import.meta.url),"./src/components/Radio/Radio.docs.mdx":async()=>t(()=>import("./Radio.docs-BLlrW6fD.js"),__vite__mapDeps([115,1,2,3,4,5,6,7,8,9,116,11,12,13]),import.meta.url),"./src/components/Radio/Radio.stories.tsx":async()=>t(()=>import("./Radio.stories-C1gch255.js").then(r=>r.R),__vite__mapDeps([116,1,2,3,11,12,13]),import.meta.url),"./src/components/Row/Row.docs.mdx":async()=>t(()=>import("./Row.docs-Bel7TByT.js"),__vite__mapDeps([117,1,2,3,4,5,6,7,8,9,118,11,12,13,50]),import.meta.url),"./src/components/Row/Row.stories.tsx":async()=>t(()=>import("./Row.stories-0RHc791k.js").then(r=>r.R),__vite__mapDeps([118,1,2,3,11,12,13,50]),import.meta.url),"./src/components/Screen/Screen.docs.mdx":async()=>t(()=>import("./Screen.docs-Dyap8m4r.js"),__vite__mapDeps([119,1,2,3,4,5,6,7,8,9,120,12]),import.meta.url),"./src/components/Screen/Screen.stories.tsx":async()=>t(()=>import("./Screen.stories-DBafdEz8.js").then(r=>r.S),__vite__mapDeps([120,1,2,3,12]),import.meta.url),"./src/components/SearchField/SearchField.docs.mdx":async()=>t(()=>import("./SearchField.docs-DbaqzaIJ.js"),__vite__mapDeps([121,1,2,3,4,5,6,7,8,9,122,12,13,40,16]),import.meta.url),"./src/components/SearchField/SearchField.stories.tsx":async()=>t(()=>import("./SearchField.stories-lpCCBc6Z.js").then(r=>r.S),__vite__mapDeps([122,1,2,3,12,13,40,16]),import.meta.url),"./src/components/Select/Select.docs.mdx":async()=>t(()=>import("./Select.docs-DJc0T_3J.js"),__vite__mapDeps([123,1,2,3,4,5,6,7,8,9,124,11,12,13]),import.meta.url),"./src/components/Select/Select.stories.tsx":async()=>t(()=>import("./Select.stories-oWYWic1U.js").then(r=>r.S),__vite__mapDeps([124,1,2,3,11,12,13]),import.meta.url),"./src/components/SkipLink/SkipLink.docs.mdx":async()=>t(()=>import("./SkipLink.docs-D0pWUY6q.js"),__vite__mapDeps([125,1,2,3,4,5,6,7,8,9,126,11,12,13]),import.meta.url),"./src/components/SkipLink/SkipLink.stories.tsx":async()=>t(()=>import("./SkipLink.stories-C4EjK4GQ.js").then(r=>r.S),__vite__mapDeps([126,1,2,3,11,12,13]),import.meta.url),"./src/components/Spotlight/Spotlight.docs.mdx":async()=>t(()=>import("./Spotlight.docs-CiKHAcrk.js"),__vite__mapDeps([127,1,2,3,4,5,6,7,8,9,128,11,12,13,14,69]),import.meta.url),"./src/components/Spotlight/Spotlight.stories.tsx":async()=>t(()=>import("./Spotlight.stories-DkxCva2s.js").then(r=>r.S),__vite__mapDeps([128,1,2,3,11,12,13,14,69]),import.meta.url),"./src/components/Switch/Switch.docs.mdx":async()=>t(()=>import("./Switch.docs-DJ6c2xPP.js"),__vite__mapDeps([129,1,2,3,4,5,6,7,8,9,130,11,12,13]),import.meta.url),"./src/components/Switch/Switch.stories.tsx":async()=>t(()=>import("./Switch.stories-C_7_fA0r.js").then(r=>r.S),__vite__mapDeps([130,1,2,3,11,12,13]),import.meta.url),"./src/components/Table/Table.docs.mdx":async()=>t(()=>import("./Table.docs-BPj737Om.js"),__vite__mapDeps([131,1,2,3,4,5,6,7,8,9,132,12]),import.meta.url),"./src/components/Table/Table.stories.tsx":async()=>t(()=>import("./Table.stories-BhkPPk6Y.js").then(r=>r.T),__vite__mapDeps([132,1,2,3,12]),import.meta.url),"./src/components/TableOfContents/TableOfContents.docs.mdx":async()=>t(()=>import("./TableOfContents.docs-qjTPXLYC.js"),__vite__mapDeps([133,1,2,3,4,5,6,7,8,9,134,12,23,15]),import.meta.url),"./src/components/TableOfContents/TableOfContents.stories.tsx":async()=>t(()=>import("./TableOfContents.stories-CDYIQLGg.js").then(r=>r.T),__vite__mapDeps([134,1,2,3,12,23,15]),import.meta.url),"./src/components/Tabs/Tabs.docs.mdx":async()=>t(()=>import("./Tabs.docs-CrXGb6-K.js"),__vite__mapDeps([135,1,2,3,4,5,6,7,8,9,136,11,12,13,14,17]),import.meta.url),"./src/components/Tabs/Tabs.stories.tsx":async()=>t(()=>import("./Tabs.stories-BS6bFV_b.js").then(r=>r.T),__vite__mapDeps([136,1,2,3,11,12,13,14,17]),import.meta.url),"./src/components/TextArea/TextArea.docs.mdx":async()=>t(()=>import("./TextArea.docs-B1Okjq8d.js"),__vite__mapDeps([137,1,2,3,4,5,6,7,8,9,138,11,12,13,14]),import.meta.url),"./src/components/TextArea/TextArea.stories.tsx":async()=>t(()=>import("./TextArea.stories-60vHS1pG.js").then(r=>r.T),__vite__mapDeps([138,1,2,3,11,12,13,14]),import.meta.url),"./src/components/TextInput/TextInput.docs.mdx":async()=>t(()=>import("./TextInput.docs-DPmnbEoh.js"),__vite__mapDeps([139,1,2,3,4,5,6,7,8,9,140,11,12,13]),import.meta.url),"./src/components/TextInput/TextInput.stories.tsx":async()=>t(()=>import("./TextInput.stories-yC0Ahrt8.js").then(r=>r.T),__vite__mapDeps([140,1,2,3,11,12,13]),import.meta.url),"./src/components/TimeInput/TimeInput.docs.mdx":async()=>t(()=>import("./TimeInput.docs-DEgeo0PP.js"),__vite__mapDeps([141,1,2,3,4,5,6,7,8,9,142,11,12,13]),import.meta.url),"./src/components/TimeInput/TimeInput.stories.tsx":async()=>t(()=>import("./TimeInput.stories-tIwAmabE.js").then(r=>r.T),__vite__mapDeps([142,1,2,3,11,12,13]),import.meta.url),"./src/components/TopTaskLink/TopTaskLink.docs.mdx":async()=>t(()=>import("./TopTaskLink.docs-wTAn6syc.js"),__vite__mapDeps([143,1,2,3,4,5,6,7,8,9,144,11,12,13,78,30,79]),import.meta.url),"./src/components/TopTaskLink/TopTaskLink.stories.tsx":async()=>t(()=>import("./TopTaskLink.stories-BVSEJWGT.js").then(r=>r.T),__vite__mapDeps([144,1,2,3,11,12,13]),import.meta.url),"./src/components/UnorderedList/UnorderedList.docs.mdx":async()=>t(()=>import("./UnorderedList.docs-Dlmh_GBv.js"),__vite__mapDeps([145,1,2,3,4,5,6,7,8,9,146,11,12,13,14]),import.meta.url),"./src/components/UnorderedList/UnorderedList.stories.tsx":async()=>t(()=>import("./UnorderedList.stories-BXvQ-Hgc.js").then(r=>r.U),__vite__mapDeps([146,1,2,3,11,12,13,14]),import.meta.url),"./src/docs/developer-guide/breakpoints.docs.mdx":async()=>t(()=>import("./breakpoints.docs-DXrk5ru_.js"),__vite__mapDeps([147,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/docs/developer-guide/getting-started.docs.mdx":async()=>t(()=>import("./getting-started.docs-BmQZcbmD.js"),__vite__mapDeps([148,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/docs/developer-guide/interactivity.docs.mdx":async()=>t(()=>import("./interactivity.docs-B7nbrsnt.js"),__vite__mapDeps([149,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/docs/developer-guide/language.docs.mdx":async()=>t(()=>import("./language.docs-Dvd6-R4_.js"),__vite__mapDeps([150,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/docs/developer-guide/routing-libraries.docs.mdx":async()=>t(()=>import("./routing-libraries.docs-DEgIQPnL.js"),__vite__mapDeps([151,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/docs/developer-guide/usability.docs.mdx":async()=>t(()=>import("./usability.docs-B95TlHT4.js"),__vite__mapDeps([152,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/docs/developer-guide/web-app.docs.mdx":async()=>t(()=>import("./web-app.docs-CYlLF50d.js"),__vite__mapDeps([153,1,2,3,4,5,6,7,8,9,154,11,12,13]),import.meta.url),"./src/docs/introduction.docs.mdx":async()=>t(()=>import("./introduction.docs-Ci_Mpa2M.js"),__vite__mapDeps([155,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/docs/terms-of-use/copyright.docs.mdx":async()=>t(()=>import("./copyright.docs-C1MJ-Sb0.js"),__vite__mapDeps([156,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/docs/terms-of-use/license.docs.mdx":async()=>t(()=>import("./license.docs-BUgRKs2G.js"),__vite__mapDeps([157,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/foundation/assets/favicon.docs.mdx":async()=>t(()=>import("./favicon.docs-hsfeTEzS.js"),__vite__mapDeps([158,1,2,3,4,5,6,7,8,9,154,11,12,13]),import.meta.url),"./src/foundation/assets/font.docs.mdx":async()=>t(()=>import("./font.docs-CXFZ5ybD.js"),__vite__mapDeps([159,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/foundation/assets/icons.docs.mdx":async()=>t(()=>import("./icons.docs-BXR82Qhw.js"),__vite__mapDeps([160,1,2,3,4,5,6,7,8,9,13,16,12,78,30,79]),import.meta.url),"./src/foundation/design-tokens/aspect-ratio.docs.mdx":async()=>t(()=>import("./aspect-ratio.docs-JNRPDYA0.js"),__vite__mapDeps([161,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/foundation/design-tokens/border.docs.mdx":async()=>t(()=>import("./border.docs-Xjl98yhl.js"),__vite__mapDeps([162,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/foundation/design-tokens/colour.docs.mdx":async()=>t(()=>import("./colour.docs-QhqTMpvf.js"),__vite__mapDeps([163,1,2,3,4,5,6,7,8,9,12,164]),import.meta.url),"./src/foundation/design-tokens/grid.docs.mdx":async()=>t(()=>import("./grid.docs-QmUBPzNg.js"),__vite__mapDeps([165,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/foundation/design-tokens/space.docs.mdx":async()=>t(()=>import("./space.docs-D6ClFum6.js"),__vite__mapDeps([166,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/foundation/design-tokens/text.docs.mdx":async()=>t(()=>import("./text.docs-CsitGwD0.js"),__vite__mapDeps([167,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/pages/Introduction.docs.mdx":async()=>t(()=>import("./Introduction.docs-BUKEbYot.js"),__vite__mapDeps([168,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/pages/amsterdam/ArticlePage/ArticlePage.docs.mdx":async()=>t(()=>import("./ArticlePage.docs-C6_c4X8h.js"),__vite__mapDeps([169,1,2,3,4,5,6,7,8,9,170,11,12,13,87,27,171,68,16,67,69]),import.meta.url),"./src/pages/amsterdam/ArticlePage/ArticlePage.stories.tsx":async()=>t(()=>import("./ArticlePage.stories-BBRgMPRq.js").then(r=>r.A),__vite__mapDeps([170,1,2,3,11,12,13,87,27,171,68,16,67,69]),import.meta.url),"./src/pages/amsterdam/FormPage/FormPage.docs.mdx":async()=>t(()=>import("./FormPage.docs-Vv7envTv.js"),__vite__mapDeps([172,1,2,3,4,5,6,7,8,9,173,11,12,13,171,68,16,67,69]),import.meta.url),"./src/pages/amsterdam/FormPage/FormPage.stories.tsx":async()=>t(()=>import("./FormPage.stories-CLVcGEuw.js").then(r=>r.F),__vite__mapDeps([173,1,2,3,11,12,13,171,68,16,67,69]),import.meta.url),"./src/pages/amsterdam/HomePage/HomePage.docs.mdx":async()=>t(()=>import("./HomePage.docs-CVGWDuJl.js"),__vite__mapDeps([174,1,2,3,4,5,6,7,8,9,175,11,12,13,105,171,68,16,67,69]),import.meta.url),"./src/pages/amsterdam/HomePage/HomePage.stories.tsx":async()=>t(()=>import("./HomePage.stories-m9YHc3UD.js").then(r=>r.H),__vite__mapDeps([175,1,2,3,11,12,13,105,171,68,16,67,69]),import.meta.url),"./src/utils/AspectRatio/AspectRatio.docs.mdx":async()=>t(()=>import("./AspectRatio.docs-Cgte0wlz.js"),__vite__mapDeps([176,1,2,3,4,5,6,7,8,9,177]),import.meta.url),"./src/utils/AspectRatio/AspectRatio.stories.tsx":async()=>t(()=>import("./AspectRatio.stories-1YKRPR3L.js").then(r=>r.A),__vite__mapDeps([177,1,2,3]),import.meta.url),"./src/utils/Gap/Gap.docs.mdx":async()=>t(()=>import("./Gap.docs-Bvnhk-Xf.js"),__vite__mapDeps([178,1,2,3,4,5,6,7,8,9,179,11,12,13]),import.meta.url),"./src/utils/Gap/Gap.stories.tsx":async()=>t(()=>import("./Gap.stories-DjTccrrj.js").then(r=>r.G),__vite__mapDeps([179,1,2,3,11,12,13]),import.meta.url),"./src/utils/Margin/Margin.docs.mdx":async()=>t(()=>import("./Margin.docs-BZNKlau0.js"),__vite__mapDeps([180,1,2,3,4,5,6,7,8,9,181,11,12,13]),import.meta.url),"./src/utils/Margin/Margin.stories.tsx":async()=>t(()=>import("./Margin.stories-Cl3DZJ6a.js").then(r=>r.M),__vite__mapDeps([181,1,2,3,11,12,13]),import.meta.url),"./src/utils/VisuallyHidden/VisuallyHidden.docs.mdx":async()=>t(()=>import("./VisuallyHidden.docs-CISyzmbA.js"),__vite__mapDeps([182,1,2,3,4,5,6,7,8,9,183,11,12,13]),import.meta.url),"./src/utils/VisuallyHidden/VisuallyHidden.stories.tsx":async()=>t(()=>import("./VisuallyHidden.stories-h6seqx8F.js").then(r=>r.V),__vite__mapDeps([183,1,2,3,11,12,13]),import.meta.url)};async function D(r){return A[r]()}const{composeConfigs:v,PreviewWeb:y,ClientApi:h}=__STORYBOOK_MODULE_PREVIEW_API__,V=async(r=[])=>{const i=await Promise.all([r[0]??t(()=>import("./entry-preview-B8A2eQQq.js"),__vite__mapDeps([184,185,2,3,6]),import.meta.url),r[1]??t(()=>import("./entry-preview-docs-DQGuIQVH.js"),__vite__mapDeps([186,185,8,3,2]),import.meta.url),r[2]??t(()=>import("./preview-BhhEZcNS.js"),__vite__mapDeps([187,7]),import.meta.url),r[3]??t(()=>import("./preview-aVwhiz9X.js"),[],import.meta.url),r[4]??t(()=>import("./preview-D77C14du.js"),__vite__mapDeps([188,9]),import.meta.url),r[5]??t(()=>import("./preview-DFmD0pui.js"),[],import.meta.url),r[6]??t(()=>import("./preview-BBWR9nbA.js"),[],import.meta.url),r[7]??t(()=>import("./preview-BWzBA1C2.js"),__vite__mapDeps([189,9]),import.meta.url),r[8]??t(()=>import("./preview-DGUiP6tS.js"),[],import.meta.url),r[9]??t(()=>import("./preview-B6QKrq_V.js"),[],import.meta.url),r[10]??t(()=>import("./preview-DF7EH-k9.js"),[],import.meta.url),r[11]??t(()=>import("./preview-CVgpLj3b.js"),[],import.meta.url),r[12]??t(()=>import("./preview-DaG5ugqg.js"),[],import.meta.url),r[13]??t(()=>import("./preview-C7tAAfkq.js"),[],import.meta.url),r[14]??t(()=>import("./preview-sOlVsnCo.js"),__vite__mapDeps([190,1,2,3,11,12,13,191]),import.meta.url)]);return v(i)};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new y(D,V);window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;export{t as _}; +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Accordion.docs-DwXol9wI.js","./jsx-runtime-j_jdvEMj.js","./index-B-o1Wr-g.js","./_commonjsHelpers-Cpj98o6Y.js","./index-BSj771as.js","./index-6XS0o-Ju.js","./index-DolzVqEf.js","./index-D-8MO0q_.js","./index-CJyPbrN5.js","./index-DrFu-skq.js","./Accordion.stories-JbHXT5Ny.js","./index.esm-Cka35VEH.js","./clsx-B-dksMZM.js","./index.esm-DE9QoVc-.js","./exampleContent-hIIPvEhU.js","./getHeadingTag-Dv1eMqvl.js","./Icon-D1obyjGa.js","./useKeyboardFocus-CRUFsA_C.js","./ActionGroup.docs-ts_2HQ47.js","./ActionGroup.stories-DlQ5M4uT.js","./Alert.docs-2-R5NEvl.js","./Alert.stories-D_ieKO9l.js","./Alert-DY_XniXm.js","./Heading-BMR-3CH3.js","./IconButton-Cq9Pwg7x.js","./Avatar.docs-6R41xrVQ.js","./Avatar.stories-C-PUMGUO.js","./Image-BeIE0HQj.js","./Badge.docs-BOYNe4rf.js","./Badge.stories-Ci6b1rp5.js","./Badge-Cg5Q2pVP.js","./Blockquote.docs-BTrK1Nro.js","./Blockquote.stories-z9MN-vzr.js","./Breadcrumb.docs-DxLoZNPp.js","./Breadcrumb.stories-EowaNKYC.js","./Breakout.docs-GXS-j9gS.js","./Breakout.stories-CFqatLxq.js","./paddingClasses-C5gheHLv.js","./Button.docs-CqBwJPh8.js","./Button.stories-B8O7S4Qp.js","./Button-CLCAbUHj.js","./Card.docs-CSJBzM6V.js","./Card.stories-BtPOH6bi.js","./Paragraph-DZy4cHOZ.js","./CharacterCount.docs-DAU_QXMr.js","./CharacterCount.stories-BuZ7Uh_6.js","./Checkbox.docs-euknlk5R.js","./Checkbox.stories-CLA9sTN5.js","./Column.docs-DLwrWwIt.js","./Column.stories-CoFocMbl.js","./types-B5YJ6HHW.js","./DateInput.docs-DgES_hvk.js","./DateInput.stories-Cz9-9zKh.js","./DescriptionList.docs-sExlIHxz.js","./DescriptionList.stories-DS1xGbNJ.js","./Dialog.docs-DS6Z_ZBD.js","./Dialog.stories-CwtAw2vm.js","./ErrorMessage.docs-Xy-G2Dpj.js","./ErrorMessage.stories-CLYESGA4.js","./Field.docs-Cm-Y9IQH.js","./Field.stories-DFLq4b3w.js","./FieldSet.docs-B6UKSxK3.js","./FieldSet.stories-rsXZJj5p.js","./Hint-rQy8SNzx.js","./FileInput.docs-3NkRjW2M.js","./FileInput.stories-DHnad0TH.js","./Footer.docs-V4HzZgsJ.js","./Footer.stories-DIfTKefj.js","./PageMenu.stories-DryfQZuq.js","./Spotlight-DZdLn00J.js","./FormErrorList.docs-B737IuJg.js","./FormErrorList.stories-kTNe6Zcc.js","./LinkList-DkJsywgf.js","./Grid.docs-DAzqk-HI.js","./Grid.stories-CUEAL2os.js","./Header.docs-DynroSy9.js","./Header.stories-BSkb9eu5.js","./Logo-BnxYOw7m.js","./StatusBadge-_VA1BtQE.js","./StatusBadge-BPsnsflc.css","./Heading.docs-Ba5HrsJ7.js","./Heading.stories-DbMFW823.js","./Icon.docs-Cj0bbpjf.js","./Icon.stories-Cv687YMC.js","./IconButton.docs-BuoiDa8M.js","./IconButton.stories-rkG8h2yG.js","./Image.docs-bM8SbvqK.js","./Image.stories-0Zmcnj6n.js","./ImageSlider.docs-Czr1iYhX.js","./ImageSlider.stories-DXULdc_M.js","./Label.docs-CGdo4O83.js","./Label.stories-Dcrx0ofz.js","./Link.docs-ClrmpWO2.js","./Link.stories-Cqkq1pBH.js","./LinkList.docs-BM1CdF_0.js","./LinkList.stories-D7CdQYZv.js","./Logo.docs-BtvZ-RDC.js","./Logo.stories-1D2Iq0g9.js","./Mark.docs-JKd0iScT.js","./Mark.stories-DKoDhFVI.js","./MegaMenu.docs-Dw7qPy5M.js","./MegaMenu.stories-BWy5fK08.js","./OrderedList.docs-DFe3Lfcx.js","./OrderedList.stories-BGMUmIAj.js","./Overlap.docs-DZvxYKTr.js","./Overlap.stories-oU9kUvJy.js","./PageHeading.docs-CnxHiiKK.js","./PageHeading.stories-BmEmYOYu.js","./PageMenu.docs-DDalgPU3.js","./Pagination.docs-B_rc0LlM.js","./Pagination.stories-CAar-Tqa.js","./Paragraph.docs-CbdaDh7-.js","./Paragraph.stories-BthwCSgv.js","./PasswordInput.docs-_3_p6m2r.js","./PasswordInput.stories-GMOpBfsr.js","./Radio.docs-CaMvcPcj.js","./Radio.stories-BhybtZ5G.js","./Row.docs-D0taxSsp.js","./Row.stories-V4B9AZyP.js","./Screen.docs-JSP-HRWP.js","./Screen.stories-DBafdEz8.js","./SearchField.docs-CLiNsZFF.js","./SearchField.stories-B9lE4Jnp.js","./Select.docs-BItlxte8.js","./Select.stories-DZQZXxgG.js","./SkipLink.docs-CgJoGNby.js","./SkipLink.stories-DOZ4BfUC.js","./Spotlight.docs-DX-ZdEl5.js","./Spotlight.stories-imt6euhc.js","./Switch.docs-Bk2ivzHu.js","./Switch.stories-CbO-EydW.js","./Table.docs-CU04CaHc.js","./Table.stories-BhkPPk6Y.js","./TableOfContents.docs-LHqzNY6t.js","./TableOfContents.stories-CDYIQLGg.js","./Tabs.docs-9TY8emyK.js","./Tabs.stories-B2z8nvTc.js","./TextArea.docs-CT4RiyeD.js","./TextArea.stories-CvCzCP2q.js","./TextInput.docs-J_JVeJS1.js","./TextInput.stories-Dai70udP.js","./TimeInput.docs-CHaRZ-XQ.js","./TimeInput.stories-DAyzfPKG.js","./TopTaskLink.docs-CDagcCpJ.js","./TopTaskLink.stories-kPtyRZRb.js","./UnorderedList.docs-BMaF3aGC.js","./UnorderedList.stories-B6Pu1adU.js","./breakpoints.docs-Df22P27k.js","./getting-started.docs-Bs-J88v5.js","./interactivity.docs-Bj7sGop5.js","./language.docs-yJCOgmJJ.js","./routing-libraries.docs-DC2_eRi-.js","./usability.docs-CACpVMSc.js","./web-app.docs-CIxo_0a_.js","./AppIcons-B4p-oez6.js","./introduction.docs-DzXoNttp.js","./copyright.docs-DNF_Y5-a.js","./license.docs-C8wh9K2J.js","./favicon.docs-Bfch9Uf3.js","./font.docs-BxwR4Zd0.js","./icons.docs-juqnMdkg.js","./aspect-ratio.docs-DQviarbW.js","./border.docs-dqFVa1A9.js","./colour.docs-Bo0EwfzO.js","./colour-DMO0xpAR.css","./grid.docs-b522fYTP.js","./space.docs-DfAliD8f.js","./text.docs-CAUzNf8W.js","./Introduction.docs-DEoXGtvY.js","./ArticlePage.docs-YQpqyJq9.js","./ArticlePage.stories-BF5zGVEL.js","./config-Bym8iAGz.js","./FormPage.docs-BP9ca7sk.js","./FormPage.stories-Dgq27_I5.js","./HomePage.docs-Czy7cgiE.js","./HomePage.stories-CS-h0V9l.js","./AspectRatio.docs-Cx3enxZS.js","./AspectRatio.stories-1YKRPR3L.js","./Gap.docs-DgkQQx2r.js","./Gap.stories-Ci9CH5vH.js","./Margin.docs-D7VibQFc.js","./Margin.stories-CnM1uach.js","./VisuallyHidden.docs-ClieVWNx.js","./VisuallyHidden.stories-DVFl9a-A.js","./entry-preview-mZX5SSHd.js","./chunk-XP5HYGXS-BGCqD1aY.js","./entry-preview-docs-BexTP7_g.js","./preview-BhhEZcNS.js","./preview-D77C14du.js","./preview-BWzBA1C2.js","./preview-CJPEGteG.js","./preview-BDjN61bS.css"])))=>i.map(i=>d[i]); +import"../sb-preview/runtime.js";(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))a(o);new MutationObserver(o=>{for(const e of o)if(e.type==="childList")for(const _ of e.addedNodes)_.tagName==="LINK"&&_.rel==="modulepreload"&&a(_)}).observe(document,{childList:!0,subtree:!0});function c(o){const e={};return o.integrity&&(e.integrity=o.integrity),o.referrerPolicy&&(e.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?e.credentials="include":o.crossOrigin==="anonymous"?e.credentials="omit":e.credentials="same-origin",e}function a(o){if(o.ep)return;o.ep=!0;const e=c(o);fetch(o.href,e)}})();const T="modulepreload",I=function(r,i){return new URL(r,i).href},L={},t=function(i,c,a){let o=Promise.resolve();if(c&&c.length>0){const _=document.getElementsByTagName("link"),s=document.querySelector("meta[property=csp-nonce]"),l=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));o=Promise.allSettled(c.map(m=>{if(m=I(m,a),m in L)return;L[m]=!0;const p=m.endsWith(".css"),O=p?'[rel="stylesheet"]':"";if(!!a)for(let d=_.length-1;d>=0;d--){const u=_[d];if(u.href===m&&(!p||u.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${m}"]${O}`))return;const n=document.createElement("link");if(n.rel=p?"stylesheet":T,p||(n.as="script"),n.crossOrigin="",n.href=m,l&&n.setAttribute("nonce",l),document.head.appendChild(n),p)return new Promise((d,u)=>{n.addEventListener("load",d),n.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${m}`)))})}))}function e(_){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=_,window.dispatchEvent(s),!s.defaultPrevented)throw _}return o.then(_=>{for(const s of _||[])s.status==="rejected"&&e(s.reason);return i().catch(e)})},{createBrowserChannel:P}=__STORYBOOK_MODULE_CHANNELS__,{addons:R}=__STORYBOOK_MODULE_PREVIEW_API__,E=P({page:"preview"});R.setChannel(E);window.__STORYBOOK_ADDONS_CHANNEL__=E;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=E);const A={"./src/components/Accordion/Accordion.docs.mdx":async()=>t(()=>import("./Accordion.docs-DwXol9wI.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]),import.meta.url),"./src/components/Accordion/Accordion.stories.tsx":async()=>t(()=>import("./Accordion.stories-JbHXT5Ny.js").then(r=>r.A),__vite__mapDeps([10,1,2,3,11,12,13,14,15,16,17]),import.meta.url),"./src/components/ActionGroup/ActionGroup.docs.mdx":async()=>t(()=>import("./ActionGroup.docs-ts_2HQ47.js"),__vite__mapDeps([18,1,2,3,4,5,6,7,8,9,19,11,12,13]),import.meta.url),"./src/components/ActionGroup/ActionGroup.stories.tsx":async()=>t(()=>import("./ActionGroup.stories-DlQ5M4uT.js").then(r=>r.A),__vite__mapDeps([19,1,2,3,11,12,13]),import.meta.url),"./src/components/Alert/Alert.docs.mdx":async()=>t(()=>import("./Alert.docs-2-R5NEvl.js"),__vite__mapDeps([20,1,2,3,4,5,6,7,8,9,21,11,12,13,22,16,23,15,24]),import.meta.url),"./src/components/Alert/Alert.stories.tsx":async()=>t(()=>import("./Alert.stories-D_ieKO9l.js").then(r=>r.A),__vite__mapDeps([21,1,2,3,11,12,13,22,16,23,15,24]),import.meta.url),"./src/components/Avatar/Avatar.docs.mdx":async()=>t(()=>import("./Avatar.docs-6R41xrVQ.js"),__vite__mapDeps([25,1,2,3,4,5,6,7,8,9,26,11,12,13,27,16]),import.meta.url),"./src/components/Avatar/Avatar.stories.tsx":async()=>t(()=>import("./Avatar.stories-C-PUMGUO.js").then(r=>r.A),__vite__mapDeps([26,1,2,3,11,12,13,27,16]),import.meta.url),"./src/components/Badge/Badge.docs.mdx":async()=>t(()=>import("./Badge.docs-BOYNe4rf.js"),__vite__mapDeps([28,1,2,3,4,5,6,7,8,9,29,30,12]),import.meta.url),"./src/components/Badge/Badge.stories.tsx":async()=>t(()=>import("./Badge.stories-Ci6b1rp5.js").then(r=>r.B),__vite__mapDeps([29,30,1,2,3,12]),import.meta.url),"./src/components/Blockquote/Blockquote.docs.mdx":async()=>t(()=>import("./Blockquote.docs-BTrK1Nro.js"),__vite__mapDeps([31,1,2,3,4,5,6,7,8,9,32,14,12]),import.meta.url),"./src/components/Blockquote/Blockquote.stories.tsx":async()=>t(()=>import("./Blockquote.stories-z9MN-vzr.js").then(r=>r.B),__vite__mapDeps([32,14,1,2,3,12]),import.meta.url),"./src/components/Breadcrumb/Breadcrumb.docs.mdx":async()=>t(()=>import("./Breadcrumb.docs-DxLoZNPp.js"),__vite__mapDeps([33,1,2,3,4,5,6,7,8,9,34,12]),import.meta.url),"./src/components/Breadcrumb/Breadcrumb.stories.tsx":async()=>t(()=>import("./Breadcrumb.stories-EowaNKYC.js").then(r=>r.B),__vite__mapDeps([34,1,2,3,12]),import.meta.url),"./src/components/Breakout/Breakout.docs.mdx":async()=>t(()=>import("./Breakout.docs-GXS-j9gS.js"),__vite__mapDeps([35,1,2,3,4,5,6,7,8,9,36,11,12,13,37]),import.meta.url),"./src/components/Breakout/Breakout.stories.tsx":async()=>t(()=>import("./Breakout.stories-CFqatLxq.js").then(r=>r.B),__vite__mapDeps([36,1,2,3,11,12,13,37]),import.meta.url),"./src/components/Button/Button.docs.mdx":async()=>t(()=>import("./Button.docs-CqBwJPh8.js"),__vite__mapDeps([38,1,2,3,4,5,6,7,8,9,39,13,40,12,16]),import.meta.url),"./src/components/Button/Button.stories.tsx":async()=>t(()=>import("./Button.stories-B8O7S4Qp.js").then(r=>r.B),__vite__mapDeps([39,1,2,3,13,40,12,16]),import.meta.url),"./src/components/Card/Card.docs.mdx":async()=>t(()=>import("./Card.docs-CSJBzM6V.js"),__vite__mapDeps([41,1,2,3,4,5,6,7,8,9,42,11,12,13,14,43]),import.meta.url),"./src/components/Card/Card.stories.tsx":async()=>t(()=>import("./Card.stories-BtPOH6bi.js").then(r=>r.C),__vite__mapDeps([42,1,2,3,11,12,13,14,43]),import.meta.url),"./src/components/CharacterCount/CharacterCount.docs.mdx":async()=>t(()=>import("./CharacterCount.docs-DAU_QXMr.js"),__vite__mapDeps([44,1,2,3,4,5,6,7,8,9,45,12]),import.meta.url),"./src/components/CharacterCount/CharacterCount.stories.tsx":async()=>t(()=>import("./CharacterCount.stories-BuZ7Uh_6.js").then(r=>r.C),__vite__mapDeps([45,1,2,3,12]),import.meta.url),"./src/components/Checkbox/Checkbox.docs.mdx":async()=>t(()=>import("./Checkbox.docs-euknlk5R.js"),__vite__mapDeps([46,1,2,3,4,5,6,7,8,9,47,11,12,13]),import.meta.url),"./src/components/Checkbox/Checkbox.stories.tsx":async()=>t(()=>import("./Checkbox.stories-CLA9sTN5.js").then(r=>r.C),__vite__mapDeps([47,1,2,3,11,12,13]),import.meta.url),"./src/components/Column/Column.docs.mdx":async()=>t(()=>import("./Column.docs-DLwrWwIt.js"),__vite__mapDeps([48,1,2,3,4,5,6,7,8,9,49,11,12,13,50]),import.meta.url),"./src/components/Column/Column.stories.tsx":async()=>t(()=>import("./Column.stories-CoFocMbl.js").then(r=>r.C),__vite__mapDeps([49,1,2,3,11,12,13,50]),import.meta.url),"./src/components/DateInput/DateInput.docs.mdx":async()=>t(()=>import("./DateInput.docs-DgES_hvk.js"),__vite__mapDeps([51,1,2,3,4,5,6,7,8,9,52,11,12,13]),import.meta.url),"./src/components/DateInput/DateInput.stories.tsx":async()=>t(()=>import("./DateInput.stories-Cz9-9zKh.js").then(r=>r.D),__vite__mapDeps([52,1,2,3,11,12,13]),import.meta.url),"./src/components/DescriptionList/DescriptionList.docs.mdx":async()=>t(()=>import("./DescriptionList.docs-sExlIHxz.js"),__vite__mapDeps([53,1,2,3,4,5,6,7,8,9,54,11,12,13]),import.meta.url),"./src/components/DescriptionList/DescriptionList.stories.tsx":async()=>t(()=>import("./DescriptionList.stories-DS1xGbNJ.js").then(r=>r.D),__vite__mapDeps([54,1,2,3,11,12,13]),import.meta.url),"./src/components/Dialog/Dialog.docs.mdx":async()=>t(()=>import("./Dialog.docs-DS6Z_ZBD.js"),__vite__mapDeps([55,1,2,3,4,5,6,7,8,9,56,11,12,13,23,15,24,16]),import.meta.url),"./src/components/Dialog/Dialog.stories.tsx":async()=>t(()=>import("./Dialog.stories-CwtAw2vm.js").then(r=>r.D),__vite__mapDeps([56,1,2,3,11,12,13,23,15,24,16]),import.meta.url),"./src/components/ErrorMessage/ErrorMessage.docs.mdx":async()=>t(()=>import("./ErrorMessage.docs-Xy-G2Dpj.js"),__vite__mapDeps([57,1,2,3,4,5,6,7,8,9,58,13,12,16]),import.meta.url),"./src/components/ErrorMessage/ErrorMessage.stories.tsx":async()=>t(()=>import("./ErrorMessage.stories-CLYESGA4.js").then(r=>r.E),__vite__mapDeps([58,13,1,2,3,12,16]),import.meta.url),"./src/components/Field/Field.docs.mdx":async()=>t(()=>import("./Field.docs-Cm-Y9IQH.js"),__vite__mapDeps([59,1,2,3,4,5,6,7,8,9,60,11,12,13]),import.meta.url),"./src/components/Field/Field.stories.tsx":async()=>t(()=>import("./Field.stories-DFLq4b3w.js").then(r=>r.F),__vite__mapDeps([60,1,2,3,11,12,13]),import.meta.url),"./src/components/FieldSet/FieldSet.docs.mdx":async()=>t(()=>import("./FieldSet.docs-B6UKSxK3.js"),__vite__mapDeps([61,1,2,3,4,5,6,7,8,9,62,11,12,13,63]),import.meta.url),"./src/components/FieldSet/FieldSet.stories.tsx":async()=>t(()=>import("./FieldSet.stories-rsXZJj5p.js").then(r=>r.F),__vite__mapDeps([62,1,2,3,11,12,13,63]),import.meta.url),"./src/components/FileInput/FileInput.docs.mdx":async()=>t(()=>import("./FileInput.docs-3NkRjW2M.js"),__vite__mapDeps([64,1,2,3,4,5,6,7,8,9,65,11,12,13]),import.meta.url),"./src/components/FileInput/FileInput.stories.tsx":async()=>t(()=>import("./FileInput.stories-DHnad0TH.js").then(r=>r.F),__vite__mapDeps([65,1,2,3,11,12,13]),import.meta.url),"./src/components/Footer/Footer.docs.mdx":async()=>t(()=>import("./Footer.docs-V4HzZgsJ.js"),__vite__mapDeps([66,1,2,3,4,5,6,7,8,9,67,11,12,13,68,16,69]),import.meta.url),"./src/components/Footer/Footer.stories.tsx":async()=>t(()=>import("./Footer.stories-DIfTKefj.js").then(r=>r.F),__vite__mapDeps([67,1,2,3,11,12,13,68,16,69]),import.meta.url),"./src/components/FormErrorList/FormErrorList.docs.mdx":async()=>t(()=>import("./FormErrorList.docs-B737IuJg.js"),__vite__mapDeps([70,1,2,3,4,5,6,7,8,9,71,12,22,13,16,23,15,24,72]),import.meta.url),"./src/components/FormErrorList/FormErrorList.stories.tsx":async()=>t(()=>import("./FormErrorList.stories-kTNe6Zcc.js").then(r=>r.F),__vite__mapDeps([71,1,2,3,12,22,13,16,23,15,24,72]),import.meta.url),"./src/components/Grid/Grid.docs.mdx":async()=>t(()=>import("./Grid.docs-DAzqk-HI.js"),__vite__mapDeps([73,1,2,3,4,5,6,7,8,9,74,12,37]),import.meta.url),"./src/components/Grid/Grid.stories.tsx":async()=>t(()=>import("./Grid.stories-CUEAL2os.js").then(r=>r.G),__vite__mapDeps([74,1,2,3,12,37]),import.meta.url),"./src/components/Header/Header.docs.mdx":async()=>t(()=>import("./Header.docs-DynroSy9.js"),__vite__mapDeps([75,1,2,3,4,5,6,7,8,9,76,11,12,13,77,23,15,78,30,79]),import.meta.url),"./src/components/Header/Header.stories.tsx":async()=>t(()=>import("./Header.stories-BSkb9eu5.js").then(r=>r.H),__vite__mapDeps([76,1,2,3,11,12,13,77,23,15]),import.meta.url),"./src/components/Heading/Heading.docs.mdx":async()=>t(()=>import("./Heading.docs-Ba5HrsJ7.js"),__vite__mapDeps([80,1,2,3,4,5,6,7,8,9,81,11,12,13,14,23,15]),import.meta.url),"./src/components/Heading/Heading.stories.tsx":async()=>t(()=>import("./Heading.stories-DbMFW823.js").then(r=>r.H),__vite__mapDeps([81,1,2,3,11,12,13,14,23,15]),import.meta.url),"./src/components/Icon/Icon.docs.mdx":async()=>t(()=>import("./Icon.docs-Cj0bbpjf.js"),__vite__mapDeps([82,1,2,3,4,5,6,7,8,9,83,11,12,13,16,78,30,79]),import.meta.url),"./src/components/Icon/Icon.stories.tsx":async()=>t(()=>import("./Icon.stories-Cv687YMC.js").then(r=>r.I),__vite__mapDeps([83,1,2,3,11,12,13,16]),import.meta.url),"./src/components/IconButton/IconButton.docs.mdx":async()=>t(()=>import("./IconButton.docs-BuoiDa8M.js"),__vite__mapDeps([84,1,2,3,4,5,6,7,8,9,85,13,24,12,16]),import.meta.url),"./src/components/IconButton/IconButton.stories.tsx":async()=>t(()=>import("./IconButton.stories-rkG8h2yG.js").then(r=>r.I),__vite__mapDeps([85,13,1,2,3,24,12,16]),import.meta.url),"./src/components/Image/Image.docs.mdx":async()=>t(()=>import("./Image.docs-bM8SbvqK.js"),__vite__mapDeps([86,1,2,3,4,5,6,7,8,9,87,27,12]),import.meta.url),"./src/components/Image/Image.stories.tsx":async()=>t(()=>import("./Image.stories-0Zmcnj6n.js").then(r=>r.I),__vite__mapDeps([87,27,1,2,3,12]),import.meta.url),"./src/components/ImageSlider/ImageSlider.docs.mdx":async()=>t(()=>import("./ImageSlider.docs-Czr1iYhX.js"),__vite__mapDeps([88,1,2,3,4,5,6,7,8,9,89,12,13,24,16,27]),import.meta.url),"./src/components/ImageSlider/ImageSlider.stories.tsx":async()=>t(()=>import("./ImageSlider.stories-DXULdc_M.js").then(r=>r.I),__vite__mapDeps([89,1,2,3,12,13,24,16,27]),import.meta.url),"./src/components/Label/Label.docs.mdx":async()=>t(()=>import("./Label.docs-CGdo4O83.js"),__vite__mapDeps([90,1,2,3,4,5,6,7,8,9,91,12,63]),import.meta.url),"./src/components/Label/Label.stories.tsx":async()=>t(()=>import("./Label.stories-Dcrx0ofz.js").then(r=>r.L),__vite__mapDeps([91,1,2,3,12,63]),import.meta.url),"./src/components/Link/Link.docs.mdx":async()=>t(()=>import("./Link.docs-ClrmpWO2.js"),__vite__mapDeps([92,1,2,3,4,5,6,7,8,9,93,11,12,13]),import.meta.url),"./src/components/Link/Link.stories.tsx":async()=>t(()=>import("./Link.stories-Cqkq1pBH.js").then(r=>r.L),__vite__mapDeps([93,1,2,3,11,12,13]),import.meta.url),"./src/components/LinkList/LinkList.docs.mdx":async()=>t(()=>import("./LinkList.docs-BM1CdF_0.js"),__vite__mapDeps([94,1,2,3,4,5,6,7,8,9,95,13,14,72,12,16]),import.meta.url),"./src/components/LinkList/LinkList.stories.tsx":async()=>t(()=>import("./LinkList.stories-D7CdQYZv.js").then(r=>r.L),__vite__mapDeps([95,1,2,3,13,14,72,12,16]),import.meta.url),"./src/components/Logo/Logo.docs.mdx":async()=>t(()=>import("./Logo.docs-BtvZ-RDC.js"),__vite__mapDeps([96,1,2,3,4,5,6,7,8,9,97,77,12]),import.meta.url),"./src/components/Logo/Logo.stories.tsx":async()=>t(()=>import("./Logo.stories-1D2Iq0g9.js").then(r=>r.L),__vite__mapDeps([97,77,1,2,3,12]),import.meta.url),"./src/components/Mark/Mark.docs.mdx":async()=>t(()=>import("./Mark.docs-JKd0iScT.js"),__vite__mapDeps([98,1,2,3,4,5,6,7,8,9,99,11,12,13]),import.meta.url),"./src/components/Mark/Mark.stories.tsx":async()=>t(()=>import("./Mark.stories-DKoDhFVI.js").then(r=>r.M),__vite__mapDeps([99,1,2,3,11,12,13]),import.meta.url),"./src/components/MegaMenu/MegaMenu.docs.mdx":async()=>t(()=>import("./MegaMenu.docs-Dw7qPy5M.js"),__vite__mapDeps([100,1,2,3,4,5,6,7,8,9,101,11,12,13,78,30,79]),import.meta.url),"./src/components/MegaMenu/MegaMenu.stories.tsx":async()=>t(()=>import("./MegaMenu.stories-BWy5fK08.js").then(r=>r.M),__vite__mapDeps([101,1,2,3,11,12,13]),import.meta.url),"./src/components/OrderedList/OrderedList.docs.mdx":async()=>t(()=>import("./OrderedList.docs-DFe3Lfcx.js"),__vite__mapDeps([102,1,2,3,4,5,6,7,8,9,103,11,12,13,14]),import.meta.url),"./src/components/OrderedList/OrderedList.stories.tsx":async()=>t(()=>import("./OrderedList.stories-BGMUmIAj.js").then(r=>r.O),__vite__mapDeps([103,1,2,3,11,12,13,14]),import.meta.url),"./src/components/Overlap/Overlap.docs.mdx":async()=>t(()=>import("./Overlap.docs-DZvxYKTr.js"),__vite__mapDeps([104,1,2,3,4,5,6,7,8,9,105,11,12,13]),import.meta.url),"./src/components/Overlap/Overlap.stories.tsx":async()=>t(()=>import("./Overlap.stories-oU9kUvJy.js").then(r=>r.O),__vite__mapDeps([105,1,2,3,11,12,13]),import.meta.url),"./src/components/PageHeading/PageHeading.docs.mdx":async()=>t(()=>import("./PageHeading.docs-CnxHiiKK.js"),__vite__mapDeps([106,1,2,3,4,5,6,7,8,9,107,12]),import.meta.url),"./src/components/PageHeading/PageHeading.stories.tsx":async()=>t(()=>import("./PageHeading.stories-BmEmYOYu.js").then(r=>r.P),__vite__mapDeps([107,1,2,3,12]),import.meta.url),"./src/components/PageMenu/PageMenu.docs.mdx":async()=>t(()=>import("./PageMenu.docs-DDalgPU3.js"),__vite__mapDeps([108,1,2,3,4,5,6,7,8,9,68,13,12,16,78,30,79]),import.meta.url),"./src/components/PageMenu/PageMenu.stories.tsx":async()=>t(()=>import("./PageMenu.stories-DryfQZuq.js").then(r=>r.P),__vite__mapDeps([68,1,2,3,13,12,16]),import.meta.url),"./src/components/Pagination/Pagination.docs.mdx":async()=>t(()=>import("./Pagination.docs-B_rc0LlM.js"),__vite__mapDeps([109,1,2,3,4,5,6,7,8,9,110,13,12,16]),import.meta.url),"./src/components/Pagination/Pagination.stories.tsx":async()=>t(()=>import("./Pagination.stories-CAar-Tqa.js").then(r=>r.P),__vite__mapDeps([110,1,2,3,13,12,16]),import.meta.url),"./src/components/Paragraph/Paragraph.docs.mdx":async()=>t(()=>import("./Paragraph.docs-CbdaDh7-.js"),__vite__mapDeps([111,1,2,3,4,5,6,7,8,9,112,14,43,12]),import.meta.url),"./src/components/Paragraph/Paragraph.stories.tsx":async()=>t(()=>import("./Paragraph.stories-BthwCSgv.js").then(r=>r.P),__vite__mapDeps([112,14,43,1,2,3,12]),import.meta.url),"./src/components/PasswordInput/PasswordInput.docs.mdx":async()=>t(()=>import("./PasswordInput.docs-_3_p6m2r.js"),__vite__mapDeps([113,1,2,3,4,5,6,7,8,9,114,11,12,13]),import.meta.url),"./src/components/PasswordInput/PasswordInput.stories.tsx":async()=>t(()=>import("./PasswordInput.stories-GMOpBfsr.js").then(r=>r.P),__vite__mapDeps([114,1,2,3,11,12,13]),import.meta.url),"./src/components/Radio/Radio.docs.mdx":async()=>t(()=>import("./Radio.docs-CaMvcPcj.js"),__vite__mapDeps([115,1,2,3,4,5,6,7,8,9,116,11,12,13]),import.meta.url),"./src/components/Radio/Radio.stories.tsx":async()=>t(()=>import("./Radio.stories-BhybtZ5G.js").then(r=>r.R),__vite__mapDeps([116,1,2,3,11,12,13]),import.meta.url),"./src/components/Row/Row.docs.mdx":async()=>t(()=>import("./Row.docs-D0taxSsp.js"),__vite__mapDeps([117,1,2,3,4,5,6,7,8,9,118,11,12,13,50]),import.meta.url),"./src/components/Row/Row.stories.tsx":async()=>t(()=>import("./Row.stories-V4B9AZyP.js").then(r=>r.R),__vite__mapDeps([118,1,2,3,11,12,13,50]),import.meta.url),"./src/components/Screen/Screen.docs.mdx":async()=>t(()=>import("./Screen.docs-JSP-HRWP.js"),__vite__mapDeps([119,1,2,3,4,5,6,7,8,9,120,12]),import.meta.url),"./src/components/Screen/Screen.stories.tsx":async()=>t(()=>import("./Screen.stories-DBafdEz8.js").then(r=>r.S),__vite__mapDeps([120,1,2,3,12]),import.meta.url),"./src/components/SearchField/SearchField.docs.mdx":async()=>t(()=>import("./SearchField.docs-CLiNsZFF.js"),__vite__mapDeps([121,1,2,3,4,5,6,7,8,9,122,12,13,40,16]),import.meta.url),"./src/components/SearchField/SearchField.stories.tsx":async()=>t(()=>import("./SearchField.stories-B9lE4Jnp.js").then(r=>r.S),__vite__mapDeps([122,1,2,3,12,13,40,16]),import.meta.url),"./src/components/Select/Select.docs.mdx":async()=>t(()=>import("./Select.docs-BItlxte8.js"),__vite__mapDeps([123,1,2,3,4,5,6,7,8,9,124,11,12,13]),import.meta.url),"./src/components/Select/Select.stories.tsx":async()=>t(()=>import("./Select.stories-DZQZXxgG.js").then(r=>r.S),__vite__mapDeps([124,1,2,3,11,12,13]),import.meta.url),"./src/components/SkipLink/SkipLink.docs.mdx":async()=>t(()=>import("./SkipLink.docs-CgJoGNby.js"),__vite__mapDeps([125,1,2,3,4,5,6,7,8,9,126,11,12,13]),import.meta.url),"./src/components/SkipLink/SkipLink.stories.tsx":async()=>t(()=>import("./SkipLink.stories-DOZ4BfUC.js").then(r=>r.S),__vite__mapDeps([126,1,2,3,11,12,13]),import.meta.url),"./src/components/Spotlight/Spotlight.docs.mdx":async()=>t(()=>import("./Spotlight.docs-DX-ZdEl5.js"),__vite__mapDeps([127,1,2,3,4,5,6,7,8,9,128,11,12,13,14,69]),import.meta.url),"./src/components/Spotlight/Spotlight.stories.tsx":async()=>t(()=>import("./Spotlight.stories-imt6euhc.js").then(r=>r.S),__vite__mapDeps([128,1,2,3,11,12,13,14,69]),import.meta.url),"./src/components/Switch/Switch.docs.mdx":async()=>t(()=>import("./Switch.docs-Bk2ivzHu.js"),__vite__mapDeps([129,1,2,3,4,5,6,7,8,9,130,11,12,13]),import.meta.url),"./src/components/Switch/Switch.stories.tsx":async()=>t(()=>import("./Switch.stories-CbO-EydW.js").then(r=>r.S),__vite__mapDeps([130,1,2,3,11,12,13]),import.meta.url),"./src/components/Table/Table.docs.mdx":async()=>t(()=>import("./Table.docs-CU04CaHc.js"),__vite__mapDeps([131,1,2,3,4,5,6,7,8,9,132,12]),import.meta.url),"./src/components/Table/Table.stories.tsx":async()=>t(()=>import("./Table.stories-BhkPPk6Y.js").then(r=>r.T),__vite__mapDeps([132,1,2,3,12]),import.meta.url),"./src/components/TableOfContents/TableOfContents.docs.mdx":async()=>t(()=>import("./TableOfContents.docs-LHqzNY6t.js"),__vite__mapDeps([133,1,2,3,4,5,6,7,8,9,134,12,23,15]),import.meta.url),"./src/components/TableOfContents/TableOfContents.stories.tsx":async()=>t(()=>import("./TableOfContents.stories-CDYIQLGg.js").then(r=>r.T),__vite__mapDeps([134,1,2,3,12,23,15]),import.meta.url),"./src/components/Tabs/Tabs.docs.mdx":async()=>t(()=>import("./Tabs.docs-9TY8emyK.js"),__vite__mapDeps([135,1,2,3,4,5,6,7,8,9,136,11,12,13,14,17]),import.meta.url),"./src/components/Tabs/Tabs.stories.tsx":async()=>t(()=>import("./Tabs.stories-B2z8nvTc.js").then(r=>r.T),__vite__mapDeps([136,1,2,3,11,12,13,14,17]),import.meta.url),"./src/components/TextArea/TextArea.docs.mdx":async()=>t(()=>import("./TextArea.docs-CT4RiyeD.js"),__vite__mapDeps([137,1,2,3,4,5,6,7,8,9,138,11,12,13,14]),import.meta.url),"./src/components/TextArea/TextArea.stories.tsx":async()=>t(()=>import("./TextArea.stories-CvCzCP2q.js").then(r=>r.T),__vite__mapDeps([138,1,2,3,11,12,13,14]),import.meta.url),"./src/components/TextInput/TextInput.docs.mdx":async()=>t(()=>import("./TextInput.docs-J_JVeJS1.js"),__vite__mapDeps([139,1,2,3,4,5,6,7,8,9,140,11,12,13]),import.meta.url),"./src/components/TextInput/TextInput.stories.tsx":async()=>t(()=>import("./TextInput.stories-Dai70udP.js").then(r=>r.T),__vite__mapDeps([140,1,2,3,11,12,13]),import.meta.url),"./src/components/TimeInput/TimeInput.docs.mdx":async()=>t(()=>import("./TimeInput.docs-CHaRZ-XQ.js"),__vite__mapDeps([141,1,2,3,4,5,6,7,8,9,142,11,12,13]),import.meta.url),"./src/components/TimeInput/TimeInput.stories.tsx":async()=>t(()=>import("./TimeInput.stories-DAyzfPKG.js").then(r=>r.T),__vite__mapDeps([142,1,2,3,11,12,13]),import.meta.url),"./src/components/TopTaskLink/TopTaskLink.docs.mdx":async()=>t(()=>import("./TopTaskLink.docs-CDagcCpJ.js"),__vite__mapDeps([143,1,2,3,4,5,6,7,8,9,144,11,12,13,78,30,79]),import.meta.url),"./src/components/TopTaskLink/TopTaskLink.stories.tsx":async()=>t(()=>import("./TopTaskLink.stories-kPtyRZRb.js").then(r=>r.T),__vite__mapDeps([144,1,2,3,11,12,13]),import.meta.url),"./src/components/UnorderedList/UnorderedList.docs.mdx":async()=>t(()=>import("./UnorderedList.docs-BMaF3aGC.js"),__vite__mapDeps([145,1,2,3,4,5,6,7,8,9,146,11,12,13,14]),import.meta.url),"./src/components/UnorderedList/UnorderedList.stories.tsx":async()=>t(()=>import("./UnorderedList.stories-B6Pu1adU.js").then(r=>r.U),__vite__mapDeps([146,1,2,3,11,12,13,14]),import.meta.url),"./src/docs/developer-guide/breakpoints.docs.mdx":async()=>t(()=>import("./breakpoints.docs-Df22P27k.js"),__vite__mapDeps([147,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/docs/developer-guide/getting-started.docs.mdx":async()=>t(()=>import("./getting-started.docs-Bs-J88v5.js"),__vite__mapDeps([148,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/docs/developer-guide/interactivity.docs.mdx":async()=>t(()=>import("./interactivity.docs-Bj7sGop5.js"),__vite__mapDeps([149,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/docs/developer-guide/language.docs.mdx":async()=>t(()=>import("./language.docs-yJCOgmJJ.js"),__vite__mapDeps([150,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/docs/developer-guide/routing-libraries.docs.mdx":async()=>t(()=>import("./routing-libraries.docs-DC2_eRi-.js"),__vite__mapDeps([151,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/docs/developer-guide/usability.docs.mdx":async()=>t(()=>import("./usability.docs-CACpVMSc.js"),__vite__mapDeps([152,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/docs/developer-guide/web-app.docs.mdx":async()=>t(()=>import("./web-app.docs-CIxo_0a_.js"),__vite__mapDeps([153,1,2,3,4,5,6,7,8,9,154,11,12,13]),import.meta.url),"./src/docs/introduction.docs.mdx":async()=>t(()=>import("./introduction.docs-DzXoNttp.js"),__vite__mapDeps([155,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/docs/terms-of-use/copyright.docs.mdx":async()=>t(()=>import("./copyright.docs-DNF_Y5-a.js"),__vite__mapDeps([156,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/docs/terms-of-use/license.docs.mdx":async()=>t(()=>import("./license.docs-C8wh9K2J.js"),__vite__mapDeps([157,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/foundation/assets/favicon.docs.mdx":async()=>t(()=>import("./favicon.docs-Bfch9Uf3.js"),__vite__mapDeps([158,1,2,3,4,5,6,7,8,9,154,11,12,13]),import.meta.url),"./src/foundation/assets/font.docs.mdx":async()=>t(()=>import("./font.docs-BxwR4Zd0.js"),__vite__mapDeps([159,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/foundation/assets/icons.docs.mdx":async()=>t(()=>import("./icons.docs-juqnMdkg.js"),__vite__mapDeps([160,1,2,3,4,5,6,7,8,9,13,16,12,78,30,79]),import.meta.url),"./src/foundation/design-tokens/aspect-ratio.docs.mdx":async()=>t(()=>import("./aspect-ratio.docs-DQviarbW.js"),__vite__mapDeps([161,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/foundation/design-tokens/border.docs.mdx":async()=>t(()=>import("./border.docs-dqFVa1A9.js"),__vite__mapDeps([162,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/foundation/design-tokens/colour.docs.mdx":async()=>t(()=>import("./colour.docs-Bo0EwfzO.js"),__vite__mapDeps([163,1,2,3,4,5,6,7,8,9,12,164]),import.meta.url),"./src/foundation/design-tokens/grid.docs.mdx":async()=>t(()=>import("./grid.docs-b522fYTP.js"),__vite__mapDeps([165,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/foundation/design-tokens/space.docs.mdx":async()=>t(()=>import("./space.docs-DfAliD8f.js"),__vite__mapDeps([166,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/foundation/design-tokens/text.docs.mdx":async()=>t(()=>import("./text.docs-CAUzNf8W.js"),__vite__mapDeps([167,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/pages/Introduction.docs.mdx":async()=>t(()=>import("./Introduction.docs-DEoXGtvY.js"),__vite__mapDeps([168,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/pages/amsterdam/ArticlePage/ArticlePage.docs.mdx":async()=>t(()=>import("./ArticlePage.docs-YQpqyJq9.js"),__vite__mapDeps([169,1,2,3,4,5,6,7,8,9,170,11,12,13,87,27,171,68,16,67,69]),import.meta.url),"./src/pages/amsterdam/ArticlePage/ArticlePage.stories.tsx":async()=>t(()=>import("./ArticlePage.stories-BF5zGVEL.js").then(r=>r.A),__vite__mapDeps([170,1,2,3,11,12,13,87,27,171,68,16,67,69]),import.meta.url),"./src/pages/amsterdam/FormPage/FormPage.docs.mdx":async()=>t(()=>import("./FormPage.docs-BP9ca7sk.js"),__vite__mapDeps([172,1,2,3,4,5,6,7,8,9,173,11,12,13,171,68,16,67,69]),import.meta.url),"./src/pages/amsterdam/FormPage/FormPage.stories.tsx":async()=>t(()=>import("./FormPage.stories-Dgq27_I5.js").then(r=>r.F),__vite__mapDeps([173,1,2,3,11,12,13,171,68,16,67,69]),import.meta.url),"./src/pages/amsterdam/HomePage/HomePage.docs.mdx":async()=>t(()=>import("./HomePage.docs-Czy7cgiE.js"),__vite__mapDeps([174,1,2,3,4,5,6,7,8,9,175,11,12,13,105,171,68,16,67,69]),import.meta.url),"./src/pages/amsterdam/HomePage/HomePage.stories.tsx":async()=>t(()=>import("./HomePage.stories-CS-h0V9l.js").then(r=>r.H),__vite__mapDeps([175,1,2,3,11,12,13,105,171,68,16,67,69]),import.meta.url),"./src/utils/AspectRatio/AspectRatio.docs.mdx":async()=>t(()=>import("./AspectRatio.docs-Cx3enxZS.js"),__vite__mapDeps([176,1,2,3,4,5,6,7,8,9,177]),import.meta.url),"./src/utils/AspectRatio/AspectRatio.stories.tsx":async()=>t(()=>import("./AspectRatio.stories-1YKRPR3L.js").then(r=>r.A),__vite__mapDeps([177,1,2,3]),import.meta.url),"./src/utils/Gap/Gap.docs.mdx":async()=>t(()=>import("./Gap.docs-DgkQQx2r.js"),__vite__mapDeps([178,1,2,3,4,5,6,7,8,9,179,11,12,13]),import.meta.url),"./src/utils/Gap/Gap.stories.tsx":async()=>t(()=>import("./Gap.stories-Ci9CH5vH.js").then(r=>r.G),__vite__mapDeps([179,1,2,3,11,12,13]),import.meta.url),"./src/utils/Margin/Margin.docs.mdx":async()=>t(()=>import("./Margin.docs-D7VibQFc.js"),__vite__mapDeps([180,1,2,3,4,5,6,7,8,9,181,11,12,13]),import.meta.url),"./src/utils/Margin/Margin.stories.tsx":async()=>t(()=>import("./Margin.stories-CnM1uach.js").then(r=>r.M),__vite__mapDeps([181,1,2,3,11,12,13]),import.meta.url),"./src/utils/VisuallyHidden/VisuallyHidden.docs.mdx":async()=>t(()=>import("./VisuallyHidden.docs-ClieVWNx.js"),__vite__mapDeps([182,1,2,3,4,5,6,7,8,9,183,11,12,13]),import.meta.url),"./src/utils/VisuallyHidden/VisuallyHidden.stories.tsx":async()=>t(()=>import("./VisuallyHidden.stories-DVFl9a-A.js").then(r=>r.V),__vite__mapDeps([183,1,2,3,11,12,13]),import.meta.url)};async function D(r){return A[r]()}const{composeConfigs:v,PreviewWeb:y,ClientApi:h}=__STORYBOOK_MODULE_PREVIEW_API__,V=async(r=[])=>{const i=await Promise.all([r[0]??t(()=>import("./entry-preview-mZX5SSHd.js"),__vite__mapDeps([184,185,2,3,6]),import.meta.url),r[1]??t(()=>import("./entry-preview-docs-BexTP7_g.js"),__vite__mapDeps([186,185,8,3,2]),import.meta.url),r[2]??t(()=>import("./preview-BhhEZcNS.js"),__vite__mapDeps([187,7]),import.meta.url),r[3]??t(()=>import("./preview-aVwhiz9X.js"),[],import.meta.url),r[4]??t(()=>import("./preview-D77C14du.js"),__vite__mapDeps([188,9]),import.meta.url),r[5]??t(()=>import("./preview-DFmD0pui.js"),[],import.meta.url),r[6]??t(()=>import("./preview-CFgKly6U.js"),[],import.meta.url),r[7]??t(()=>import("./preview-BWzBA1C2.js"),__vite__mapDeps([189,9]),import.meta.url),r[8]??t(()=>import("./preview-DGUiP6tS.js"),[],import.meta.url),r[9]??t(()=>import("./preview-BJ6EHSBF.js"),[],import.meta.url),r[10]??t(()=>import("./preview-AWrPSvgV.js"),[],import.meta.url),r[11]??t(()=>import("./preview-CVgpLj3b.js"),[],import.meta.url),r[12]??t(()=>import("./preview-DtaGjJ0e.js"),[],import.meta.url),r[13]??t(()=>import("./preview-C7tAAfkq.js"),[],import.meta.url),r[14]??t(()=>import("./preview-CJPEGteG.js"),__vite__mapDeps([190,1,2,3,11,12,13,191]),import.meta.url)]);return v(i)};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new y(D,V);window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;export{t as _}; diff --git a/demo-DES-998-multiple-terms/assets/index-B5EKLMoC.js b/demo-DES-998-multiple-terms/assets/index-6XS0o-Ju.js similarity index 94% rename from demo-DES-998-multiple-terms/assets/index-B5EKLMoC.js rename to demo-DES-998-multiple-terms/assets/index-6XS0o-Ju.js index 41c5f4ddee..b89e8fd6d7 100644 --- a/demo-DES-998-multiple-terms/assets/index-B5EKLMoC.js +++ b/demo-DES-998-multiple-terms/assets/index-6XS0o-Ju.js @@ -1,5 +1,5 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-DsSkJi2X.js","./iframe-spVqZGXB.js","./index-B-o1Wr-g.js","./_commonjsHelpers-Cpj98o6Y.js","./jsx-runtime-j_jdvEMj.js","./index-DolzVqEf.js","./index-D-8MO0q_.js","./index-CBft-ReK.js","./index-DrFu-skq.js","./Color-F6OSRLHC-C_L_hTpz.js"])))=>i.map(i=>d[i]); -var Nx=Object.defineProperty;var Hx=(e,t,r)=>t in e?Nx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Rn=(e,t,r)=>Hx(e,typeof t!="symbol"?t+"":t,r);import{_ as G4}from"./iframe-spVqZGXB.js";import{r as l,R as y}from"./index-B-o1Wr-g.js";import{j as J}from"./jsx-runtime-j_jdvEMj.js";import{r as fs,F as Y4}from"./index-DolzVqEf.js";import{O as K4,P as jx}from"./index-D-8MO0q_.js";import{g as Eu,y as hh}from"./index-CBft-ReK.js";import{d as Vx}from"./index-DrFu-skq.js";var Ux=Object.create,Z4=Object.defineProperty,qx=Object.getOwnPropertyDescriptor,J4=Object.getOwnPropertyNames,Wx=Object.getPrototypeOf,Gx=Object.prototype.hasOwnProperty,xi=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),mn=(e,t)=>function(){return t||(0,e[J4(e)[0]])((t={exports:{}}).exports,t),t.exports},Yx=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of J4(t))!Gx.call(e,a)&&a!==r&&Z4(e,a,{get:()=>t[a],enumerable:!(n=qx(t,a))||n.enumerable});return e},Y1=(e,t,r)=>(r=e!=null?Ux(Wx(e)):{},Yx(t||!e||!e.__esModule?Z4(r,"default",{value:e,enumerable:!0}):r,e));function Kx(e,t,{signal:r,edges:n}={}){let a,o=null,i=n!=null&&n.includes("leading"),s=n==null||n.includes("trailing"),c=()=>{o!==null&&(e.apply(a,o),a=void 0,o=null)},d=()=>{s&&c(),f()},p=null,m=()=>{p!=null&&clearTimeout(p),p=setTimeout(()=>{p=null,d()},t)},h=()=>{p!==null&&(clearTimeout(p),p=null)},f=()=>{h(),a=void 0,o=null},v=()=>{h(),c()},g=function(...w){if(r!=null&&r.aborted)return;a=this,o=w;let x=p==null;m(),i&&x&&c()};return g.schedule=m,g.cancel=f,g.flush=v,r==null||r.addEventListener("abort",f,{once:!0}),g}function yV(e,t=0,r={}){typeof r!="object"&&(r={});let{signal:n,leading:a=!1,trailing:o=!0,maxWait:i}=r,s=Array(2);a&&(s[0]="leading"),o&&(s[1]="trailing");let c,d=null,p=Kx(function(...f){c=e.apply(this,f),d=null},t,{signal:n,edges:s}),m=function(...f){if(i!=null){if(d===null)d=Date.now();else if(Date.now()-d>=i)return c=e.apply(this,f),d=Date.now(),p.cancel(),p.schedule(),c}return p.apply(this,f),c},h=()=>(p.flush(),c);return m.cancel=p.cancel,m.flush=h,m}function Zx(e){return Array.from(new Set(e))}function Jx(e,t){let r={},n=Object.entries(e);for(let a=0;a `control-${e.replace(/\s+/g,"-")}`,hs=e=>`set-${e.replace(/\s+/g,"-")}`,oD=Object.create,K1=Object.defineProperty,iD=Object.getOwnPropertyDescriptor,lD=Object.getOwnPropertyNames,sD=Object.getPrototypeOf,uD=Object.prototype.hasOwnProperty,R=(e,t)=>K1(e,"name",{value:t,configurable:!0}),Di=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),ms=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),cD=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of lD(t))!uD.call(e,a)&&a!==r&&K1(e,a,{get:()=>t[a],enumerable:!(n=iD(t,a))||n.enumerable});return e},Z1=(e,t,r)=>(r=e!=null?oD(sD(e)):{},cD(t||!e||!e.__esModule?K1(r,"default",{value:e,enumerable:!0}):r,e)),dD=ms(e=>{(function(){var t=typeof Symbol=="function"&&Symbol.for,r=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,a=t?Symbol.for("react.fragment"):60107,o=t?Symbol.for("react.strict_mode"):60108,i=t?Symbol.for("react.profiler"):60114,s=t?Symbol.for("react.provider"):60109,c=t?Symbol.for("react.context"):60110,d=t?Symbol.for("react.async_mode"):60111,p=t?Symbol.for("react.concurrent_mode"):60111,m=t?Symbol.for("react.forward_ref"):60112,h=t?Symbol.for("react.suspense"):60113,f=t?Symbol.for("react.suspense_list"):60120,v=t?Symbol.for("react.memo"):60115,g=t?Symbol.for("react.lazy"):60116,w=t?Symbol.for("react.block"):60121,x=t?Symbol.for("react.fundamental"):60117,D=t?Symbol.for("react.responder"):60118,E=t?Symbol.for("react.scope"):60119;function b($){return typeof $=="string"||typeof $=="function"||$===a||$===p||$===i||$===o||$===h||$===f||typeof $=="object"&&$!==null&&($.$$typeof===g||$.$$typeof===v||$.$$typeof===s||$.$$typeof===c||$.$$typeof===m||$.$$typeof===x||$.$$typeof===D||$.$$typeof===E||$.$$typeof===w)}R(b,"isValidElementType");function C($){if(typeof $=="object"&&$!==null){var rt=$.$$typeof;switch(rt){case r:var Dt=$.type;switch(Dt){case d:case p:case a:case i:case o:case h:return Dt;default:var Mr=Dt&&Dt.$$typeof;switch(Mr){case c:case m:case g:case v:case s:return Mr;default:return rt}}case n:return rt}}}R(C,"typeOf");var S=d,k=p,A=c,_=s,I=r,B=m,z=a,L=g,M=v,O=n,P=i,H=o,U=h,V=!1;function G($){return V||(V=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),Q($)||C($)===d}R(G,"isAsyncMode");function Q($){return C($)===p}R(Q,"isConcurrentMode");function ne($){return C($)===c}R(ne,"isContextConsumer");function Z($){return C($)===s}R(Z,"isContextProvider");function ie($){return typeof $=="object"&&$!==null&&$.$$typeof===r}R(ie,"isElement");function N($){return C($)===m}R(N,"isForwardRef");function K($){return C($)===a}R(K,"isFragment");function re($){return C($)===g}R(re,"isLazy");function fe($){return C($)===v}R(fe,"isMemo");function Ce($){return C($)===n}R(Ce,"isPortal");function xt($){return C($)===i}R(xt,"isProfiler");function He($){return C($)===o}R(He,"isStrictMode");function tt($){return C($)===h}R(tt,"isSuspense"),e.AsyncMode=S,e.ConcurrentMode=k,e.ContextConsumer=A,e.ContextProvider=_,e.Element=I,e.ForwardRef=B,e.Fragment=z,e.Lazy=L,e.Memo=M,e.Portal=O,e.Profiler=P,e.StrictMode=H,e.Suspense=U,e.isAsyncMode=G,e.isConcurrentMode=Q,e.isContextConsumer=ne,e.isContextProvider=Z,e.isElement=ie,e.isForwardRef=N,e.isFragment=K,e.isLazy=re,e.isMemo=fe,e.isPortal=Ce,e.isProfiler=xt,e.isStrictMode=He,e.isSuspense=tt,e.isValidElementType=b,e.typeOf=C})()}),pD=ms((e,t)=>{t.exports=dD()}),X4=ms((e,t)=>{var r=pD(),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[r.ForwardRef]=o,s[r.Memo]=i;function c(w){return r.isMemo(w)?i:s[w.$$typeof]||n}R(c,"getStatics");var d=Object.defineProperty,p=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,v=Object.prototype;function g(w,x,D){if(typeof x!="string"){if(v){var E=f(x);E&&E!==v&&g(w,E,D)}var b=p(x);m&&(b=b.concat(m(x)));for(var C=c(w),S=c(x),k=0;k {(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return R(function r(n,a,o){function i(d,p){if(!a[d]){if(!n[d]){var m=typeof Di=="function"&&Di;if(!p&&m)return m(d,!0);if(s)return s(d,!0);var h=new Error("Cannot find module '"+d+"'");throw h.code="MODULE_NOT_FOUND",h}var f=a[d]={exports:{}};n[d][0].call(f.exports,function(v){var g=n[d][1][v];return i(g||v)},f,f.exports,r,n,a,o)}return a[d].exports}R(i,"s");for(var s=typeof Di=="function"&&Di,c=0;c =0)return this.lastItem=this.list[s],this.list[s].val},o.prototype.set=function(i,s){var c;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=s,this):(c=this.indexOf(i),c>=0?(this.lastItem=this.list[c],this.list[c].val=s,this):(this.lastItem={key:i,val:s},this.list.push(this.lastItem),this.size++,this))},o.prototype.delete=function(i){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),s=this.indexOf(i),s>=0)return this.size--,this.list.splice(s,1)[0]},o.prototype.has=function(i){var s;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(s=this.indexOf(i),s>=0?(this.lastItem=this.list[s],!0):!1)},o.prototype.forEach=function(i,s){var c;for(c=0;c 0&&(D[x]={cacheItem:v,arg:arguments[x]},E?i(m,D):m.push(D),m.length>d&&s(m.shift())),f.wasMemoized=E,f.numArgs=x+1,w},"memoizerific");return f.limit=d,f.wasMemoized=!1,f.cache=p,f.lru=m,f}};function i(d,p){var m=d.length,h=p.length,f,v,g;for(v=0;v =0&&(m=d[f],h=m.cacheItem.get(m.arg),!h||!h.size);f--)m.cacheItem.delete(m.arg)}R(s,"removeCachedResult");function c(d,p){return d===p||d!==d&&p!==p}R(c,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})});function Nt(){return Nt=Object.assign?Object.assign.bind():function(e){for(var t=1;t i.map(i=>d[i]); +var Nx=Object.defineProperty;var Hx=(e,t,r)=>t in e?Nx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Rn=(e,t,r)=>Hx(e,typeof t!="symbol"?t+"":t,r);import{_ as G4}from"./iframe-Cvsd4EMb.js";import{r as l,R as y}from"./index-B-o1Wr-g.js";import{j as J}from"./jsx-runtime-j_jdvEMj.js";import{r as fs,F as Y4}from"./index-DolzVqEf.js";import{O as K4,P as jx}from"./index-D-8MO0q_.js";import{y as hh,g as Eu}from"./index-CJyPbrN5.js";import{d as Vx}from"./index-DrFu-skq.js";var Ux=Object.create,Z4=Object.defineProperty,qx=Object.getOwnPropertyDescriptor,J4=Object.getOwnPropertyNames,Wx=Object.getPrototypeOf,Gx=Object.prototype.hasOwnProperty,xi=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),mn=(e,t)=>function(){return t||(0,e[J4(e)[0]])((t={exports:{}}).exports,t),t.exports},Yx=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of J4(t))!Gx.call(e,a)&&a!==r&&Z4(e,a,{get:()=>t[a],enumerable:!(n=qx(t,a))||n.enumerable});return e},Y1=(e,t,r)=>(r=e!=null?Ux(Wx(e)):{},Yx(t||!e||!e.__esModule?Z4(r,"default",{value:e,enumerable:!0}):r,e));function Kx(e,t,{signal:r,edges:n}={}){let a,o=null,i=n!=null&&n.includes("leading"),s=n==null||n.includes("trailing"),c=()=>{o!==null&&(e.apply(a,o),a=void 0,o=null)},d=()=>{s&&c(),f()},p=null,m=()=>{p!=null&&clearTimeout(p),p=setTimeout(()=>{p=null,d()},t)},h=()=>{p!==null&&(clearTimeout(p),p=null)},f=()=>{h(),a=void 0,o=null},v=()=>{h(),c()},g=function(...w){if(r!=null&&r.aborted)return;a=this,o=w;let x=p==null;m(),i&&x&&c()};return g.schedule=m,g.cancel=f,g.flush=v,r==null||r.addEventListener("abort",f,{once:!0}),g}function yV(e,t=0,r={}){typeof r!="object"&&(r={});let{signal:n,leading:a=!1,trailing:o=!0,maxWait:i}=r,s=Array(2);a&&(s[0]="leading"),o&&(s[1]="trailing");let c,d=null,p=Kx(function(...f){c=e.apply(this,f),d=null},t,{signal:n,edges:s}),m=function(...f){if(i!=null){if(d===null)d=Date.now();else if(Date.now()-d>=i)return c=e.apply(this,f),d=Date.now(),p.cancel(),p.schedule(),c}return p.apply(this,f),c},h=()=>(p.flush(),c);return m.cancel=p.cancel,m.flush=h,m}function Zx(e){return Array.from(new Set(e))}function Jx(e,t){let r={},n=Object.entries(e);for(let a=0;a `control-${e.replace(/\s+/g,"-")}`,hs=e=>`set-${e.replace(/\s+/g,"-")}`,oD=Object.create,K1=Object.defineProperty,iD=Object.getOwnPropertyDescriptor,lD=Object.getOwnPropertyNames,sD=Object.getPrototypeOf,uD=Object.prototype.hasOwnProperty,R=(e,t)=>K1(e,"name",{value:t,configurable:!0}),Di=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),ms=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),cD=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of lD(t))!uD.call(e,a)&&a!==r&&K1(e,a,{get:()=>t[a],enumerable:!(n=iD(t,a))||n.enumerable});return e},Z1=(e,t,r)=>(r=e!=null?oD(sD(e)):{},cD(t||!e||!e.__esModule?K1(r,"default",{value:e,enumerable:!0}):r,e)),dD=ms(e=>{(function(){var t=typeof Symbol=="function"&&Symbol.for,r=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,a=t?Symbol.for("react.fragment"):60107,o=t?Symbol.for("react.strict_mode"):60108,i=t?Symbol.for("react.profiler"):60114,s=t?Symbol.for("react.provider"):60109,c=t?Symbol.for("react.context"):60110,d=t?Symbol.for("react.async_mode"):60111,p=t?Symbol.for("react.concurrent_mode"):60111,m=t?Symbol.for("react.forward_ref"):60112,h=t?Symbol.for("react.suspense"):60113,f=t?Symbol.for("react.suspense_list"):60120,v=t?Symbol.for("react.memo"):60115,g=t?Symbol.for("react.lazy"):60116,w=t?Symbol.for("react.block"):60121,x=t?Symbol.for("react.fundamental"):60117,D=t?Symbol.for("react.responder"):60118,E=t?Symbol.for("react.scope"):60119;function b($){return typeof $=="string"||typeof $=="function"||$===a||$===p||$===i||$===o||$===h||$===f||typeof $=="object"&&$!==null&&($.$$typeof===g||$.$$typeof===v||$.$$typeof===s||$.$$typeof===c||$.$$typeof===m||$.$$typeof===x||$.$$typeof===D||$.$$typeof===E||$.$$typeof===w)}R(b,"isValidElementType");function C($){if(typeof $=="object"&&$!==null){var rt=$.$$typeof;switch(rt){case r:var Dt=$.type;switch(Dt){case d:case p:case a:case i:case o:case h:return Dt;default:var Mr=Dt&&Dt.$$typeof;switch(Mr){case c:case m:case g:case v:case s:return Mr;default:return rt}}case n:return rt}}}R(C,"typeOf");var S=d,k=p,A=c,_=s,I=r,B=m,z=a,L=g,M=v,O=n,P=i,j=o,U=h,V=!1;function G($){return V||(V=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),Q($)||C($)===d}R(G,"isAsyncMode");function Q($){return C($)===p}R(Q,"isConcurrentMode");function ne($){return C($)===c}R(ne,"isContextConsumer");function Z($){return C($)===s}R(Z,"isContextProvider");function ie($){return typeof $=="object"&&$!==null&&$.$$typeof===r}R(ie,"isElement");function N($){return C($)===m}R(N,"isForwardRef");function K($){return C($)===a}R(K,"isFragment");function re($){return C($)===g}R(re,"isLazy");function fe($){return C($)===v}R(fe,"isMemo");function Ce($){return C($)===n}R(Ce,"isPortal");function xt($){return C($)===i}R(xt,"isProfiler");function He($){return C($)===o}R(He,"isStrictMode");function tt($){return C($)===h}R(tt,"isSuspense"),e.AsyncMode=S,e.ConcurrentMode=k,e.ContextConsumer=A,e.ContextProvider=_,e.Element=I,e.ForwardRef=B,e.Fragment=z,e.Lazy=L,e.Memo=M,e.Portal=O,e.Profiler=P,e.StrictMode=j,e.Suspense=U,e.isAsyncMode=G,e.isConcurrentMode=Q,e.isContextConsumer=ne,e.isContextProvider=Z,e.isElement=ie,e.isForwardRef=N,e.isFragment=K,e.isLazy=re,e.isMemo=fe,e.isPortal=Ce,e.isProfiler=xt,e.isStrictMode=He,e.isSuspense=tt,e.isValidElementType=b,e.typeOf=C})()}),pD=ms((e,t)=>{t.exports=dD()}),X4=ms((e,t)=>{var r=pD(),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[r.ForwardRef]=o,s[r.Memo]=i;function c(w){return r.isMemo(w)?i:s[w.$$typeof]||n}R(c,"getStatics");var d=Object.defineProperty,p=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,v=Object.prototype;function g(w,x,D){if(typeof x!="string"){if(v){var E=f(x);E&&E!==v&&g(w,E,D)}var b=p(x);m&&(b=b.concat(m(x)));for(var C=c(w),S=c(x),k=0;k {(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return R(function r(n,a,o){function i(d,p){if(!a[d]){if(!n[d]){var m=typeof Di=="function"&&Di;if(!p&&m)return m(d,!0);if(s)return s(d,!0);var h=new Error("Cannot find module '"+d+"'");throw h.code="MODULE_NOT_FOUND",h}var f=a[d]={exports:{}};n[d][0].call(f.exports,function(v){var g=n[d][1][v];return i(g||v)},f,f.exports,r,n,a,o)}return a[d].exports}R(i,"s");for(var s=typeof Di=="function"&&Di,c=0;c =0)return this.lastItem=this.list[s],this.list[s].val},o.prototype.set=function(i,s){var c;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=s,this):(c=this.indexOf(i),c>=0?(this.lastItem=this.list[c],this.list[c].val=s,this):(this.lastItem={key:i,val:s},this.list.push(this.lastItem),this.size++,this))},o.prototype.delete=function(i){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),s=this.indexOf(i),s>=0)return this.size--,this.list.splice(s,1)[0]},o.prototype.has=function(i){var s;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(s=this.indexOf(i),s>=0?(this.lastItem=this.list[s],!0):!1)},o.prototype.forEach=function(i,s){var c;for(c=0;c 0&&(D[x]={cacheItem:v,arg:arguments[x]},E?i(m,D):m.push(D),m.length>d&&s(m.shift())),f.wasMemoized=E,f.numArgs=x+1,w},"memoizerific");return f.limit=d,f.wasMemoized=!1,f.cache=p,f.lru=m,f}};function i(d,p){var m=d.length,h=p.length,f,v,g;for(v=0;v =0&&(m=d[f],h=m.cacheItem.get(m.arg),!h||!h.size);f--)m.cacheItem.delete(m.arg)}R(s,"removeCachedResult");function c(d,p){return d===p||d!==d&&p!==p}R(c,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})});function Nt(){return Nt=Object.assign?Object.assign.bind():function(e){for(var t=1;t 0?we(ka,--$e):0,la--,de===10&&(la=1,ys--),de}R(l3,"prev");function Oe(){return de=$e 2||sa(de)>3?"":" "}R(s3,"whitespace");function u3(e,t){for(;--t&&Oe()&&!(de<48||de>102||de>57&&de<65||de>70&&de<97););return Aa(e,bo()+(t<6&&dt()==32&&Oe()==32))}R(u3,"escaping");function Cl(e){for(;Oe();)switch(de){case e:return $e;case 34:case 39:e!==34&&e!==39&&Cl(de);break;case 40:e===41&&Cl(e);break;case 92:Oe();break}return $e}R(Cl,"delimiter");function c3(e,t){for(;Oe()&&e+de!==57&&!(e+de===84&&dt()===47););return"/*"+Aa(t,$e-1)+"*"+gs(e===47?e:Oe())}R(c3,"commenter");function d3(e){for(;!sa(dt());)Oe();return Aa(e,$e)}R(d3,"identifier");function p3(e){return ap(Eo("",null,null,null,[""],e=np(e),0,[0],e))}R(p3,"compile");function Eo(e,t,r,n,a,o,i,s,c){for(var d=0,p=0,m=i,h=0,f=0,v=0,g=1,w=1,x=1,D=0,E="",b=a,C=o,S=n,k=E;w;)switch(v=D,D=Oe()){case 40:if(v!=108&&we(k,m-1)==58){Dl(k+=ee(wo(D),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:k+=wo(D);break;case 9:case 10:case 13:case 32:k+=s3(v);break;case 92:k+=u3(bo()-1,7);continue;case 47:switch(dt()){case 42:case 47:oo(f3(c3(Oe(),bo()),t,r),c);break;default:k+="/"}break;case 123*g:s[d++]=lt(k)*x;case 125*g:case 59:case 0:switch(D){case 0:case 125:w=0;case 59+p:x==-1&&(k=ee(k,/\f/g,"")),f>0&<(k)-m&&oo(f>32?Q0(k+";",n,r,m-1):Q0(ee(k," ","")+";",n,r,m-2),c);break;case 59:k+=";";default:if(oo(S=X0(k,t,r,d,p,a,s,E,b=[],C=[],m),o),D===123)if(p===0)Eo(k,t,S,S,b,o,m,s,C);else switch(h===99&&we(k,3)===110?100:h){case 100:case 108:case 109:case 115:Eo(e,S,S,n&&oo(X0(e,S,S,0,0,a,s,E,a,b=[],m),C),a,C,m,s,n?b:C);break;default:Eo(k,S,S,S,[""],C,0,s,C)}}d=p=f=0,g=x=1,E=k="",m=i;break;case 58:m=1+lt(k),f=v;default:if(g<1){if(D==123)--g;else if(D==125&&g++==0&&l3()==125)continue}switch(k+=gs(D),D*g){case 38:x=p>0?1:(k+="\f",-1);break;case 44:s[d++]=(lt(k)-1)*x,x=1;break;case 64:dt()===45&&(k+=wo(Oe())),h=dt(),p=m=lt(E=k+=d3(bo())),D++;break;case 45:v===45&<(k)==2&&(g=0)}}return o}R(Eo,"parse");function X0(e,t,r,n,a,o,i,s,c,d,p){for(var m=a-1,h=a===0?o:[""],f=vs(h),v=0,g=0,w=0;v 0?h[x]+" "+D:ee(D,/&\f/g,h[x])))&&(c[w++]=E);return Ko(e,t,r,a===0?ep:s,c,d,p)}R(X0,"ruleset");function f3(e,t,r){return Ko(e,t,r,Q1,gs(i3()),ia(e,2,-2),0)}R(f3,"comment");function Q0(e,t,r,n){return Ko(e,t,r,tp,ia(e,0,n),ia(e,n+1,-1),n)}R(Q0,"declaration");function an(e,t){for(var r="",n=vs(e),a=0;a -1},"isIgnoringComment"),AD=R(function(e){return function(t,r,n){if(!(t.type!=="rule"||e.compat)){var a=t.value.match(/(:first|:nth|:nth-last)-child/g);if(a){for(var o=!!t.parent,i=o?t.parent.children:n,s=i.length-1;s>=0;s--){var c=i[s];if(c.line =0;r--)if(!g3(t[r]))return!0;return!1},"isPrependedWithRegularRules"),yh=R(function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},"nullifyElement"),_D=R(function(e,t,r){g3(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),yh(e)):FD(t,r)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),yh(e)))},"incorrectImportAlarm");function op(e,t){switch(r3(e,t)){case 5103:return te+"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 te+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return te+e+xl+e+_e+e+e;case 6828:case 4268:return te+e+_e+e+e;case 6165:return te+e+_e+"flex-"+e+e;case 5187:return te+e+ee(e,/(\w+).+(:[^]+)/,te+"box-$1$2"+_e+"flex-$1$2")+e;case 5443:return te+e+_e+"flex-item-"+ee(e,/flex-|-self/,"")+e;case 4675:return te+e+_e+"flex-line-pack"+ee(e,/align-content|flex-|-self/,"")+e;case 5548:return te+e+_e+ee(e,"shrink","negative")+e;case 5292:return te+e+_e+ee(e,"basis","preferred-size")+e;case 6060:return te+"box-"+ee(e,"-grow","")+te+e+_e+ee(e,"grow","positive")+e;case 4554:return te+ee(e,/([^-])(transform)/g,"$1"+te+"$2")+e;case 6187:return ee(ee(ee(e,/(zoom-|grab)/,te+"$1"),/(image-set)/,te+"$1"),e,"")+e;case 5495:case 3959:return ee(e,/(image-set\([^]*)/,te+"$1$`$1");case 4968:return ee(ee(e,/(.+:)(flex-)?(.*)/,te+"box-pack:$3"+_e+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+te+e+e;case 4095:case 3583:case 4068:case 2532:return ee(e,/(.+)-inline(.+)/,te+"$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(lt(e)-1-t>6)switch(we(e,t+1)){case 109:if(we(e,t+4)!==45)break;case 102:return ee(e,/(.+:)(.+)-([^]+)/,"$1"+te+"$2-$3$1"+xl+(we(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Dl(e,"stretch")?op(ee(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(we(e,t+1)!==115)break;case 6444:switch(we(e,lt(e)-3-(~Dl(e,"!important")&&10))){case 107:return ee(e,":",":"+te)+e;case 101:return ee(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+te+(we(e,14)===45?"inline-":"")+"box$3$1"+te+"$2$3$1"+_e+"$2box$3")+e}break;case 5936:switch(we(e,t+11)){case 114:return te+e+_e+ee(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return te+e+_e+ee(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return te+e+_e+ee(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return te+e+_e+e+e}return e}R(op,"prefix");var RD=R(function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case tp:e.return=op(e.value,e.length);break;case t3:return an([$n(e,{value:ee(e.value,"@","@"+te)})],n);case ep:if(e.length)return a3(e.props,function(a){switch(n3(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return an([$n(e,{props:[ee(a,/:(read-\w+)/,":"+xl+"$1")]})],n);case"::placeholder":return an([$n(e,{props:[ee(a,/:(plac\w+)/,":"+te+"input-$1")]}),$n(e,{props:[ee(a,/:(plac\w+)/,":"+xl+"$1")]}),$n(e,{props:[ee(a,/:(plac\w+)/,_e+"input-$1")]})],n)}return""})}},"prefixer"),ID=[RD],BD=R(function(e){var t=e.key;if(!t)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache. If multiple caches share the same key they might "fight" for each other's style elements.`);if(t==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(v){var g=v.getAttribute("data-emotion");g.indexOf(" ")!==-1&&(document.head.appendChild(v),v.setAttribute("data-s",""))})}var n=e.stylisPlugins||ID;if(/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var a={},o,i=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(v){for(var g=v.getAttribute("data-emotion").split(" "),w=1;w =4;++n,a-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(a){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}R(v3,"murmur2");var OD={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},bh=`You have illegal escape sequence in your template literal, most likely inside content's property value. Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';". @@ -9,7 +9,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter You should wrap it with \`css\` like this: -`+("css`"+c+"`"));break}if(t==null)return r;var d=t[r];return d!==void 0?d:r}R(ua,"handleInterpolation");function w3(e,t,r){var n="";if(Array.isArray(r))for(var a=0;a ({})}!");return r}if(t==null||typeof t!="object"||Array.isArray(t))throw new Error("[ThemeProvider] Please make your theme prop a plain object");return Nt({},e,t)},"getTheme"),jD=gh(function(e){return gh(function(t){return HD(e,t)})}),C3=R(function(e){var t=l.useContext(ir);return e.theme!==t&&(t=jD(t)(e.theme)),l.createElement(ir.Provider,{value:t},e.children)},"ThemeProvider");function VD(e){var t=e.displayName||e.name||"Component",r=R(function(a,o){var i=l.useContext(ir);return l.createElement(e,Nt({theme:i,ref:o},a))},"render"),n=l.forwardRef(r);return n.displayName="WithTheme("+t+")",zD(n,e)}R(VD,"withTheme");var Fh="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",_h="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",UD=R(function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return ws(t,r,n),lp(function(){return Es(t,r,n)}),null},"Insertion"),qD=xs(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var a=e[Fh],o=[n],i="";typeof e.className=="string"?i=bs(t.registered,o,e.className):e.className!=null&&(i=e.className+" ");var s=ca(o,void 0,l.useContext(ir));if(s.name.indexOf("-")===-1){var c=e[_h];c&&(s=ca([s,"label:"+c+";"]))}i+=t.key+"-"+s.name;var d={};for(var p in e)ND.call(e,p)&&p!=="css"&&p!==Fh&&p!==_h&&(d[p]=e[p]);return d.ref=r,d.className=i,l.createElement(l.Fragment,null,l.createElement(UD,{cache:t,serialized:s,isStringTag:typeof a=="string"}),l.createElement(a,d))});qD.displayName="EmotionCssPropInternal";Z1(X4());var WD={version:"11.11.4"},Rh=!1,GD=xs(function(e,t){!Rh&&(e.className||e.css)&&(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),Rh=!0);var r=e.styles,n=ca([r],void 0,l.useContext(ir)),a=l.useRef();return Ah(function(){var o=t.key+"-global",i=new t.sheet.constructor({key:o,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),s=!1,c=document.querySelector('style[data-emotion="'+o+" "+n.name+'"]');return t.sheet.tags.length&&(i.before=t.sheet.tags[0]),c!==null&&(s=!0,c.setAttribute("data-emotion",o),i.hydrate([c])),a.current=[i,s],function(){i.flush()}},[t]),Ah(function(){var o=a.current,i=o[0],s=o[1];if(s){o[1]=!1;return}if(n.next!==void 0&&Es(t,n.next,!0),i.tags.length){var c=i.tags[i.tags.length-1].nextElementSibling;i.before=c,i.flush()}t.insert("",n,i,!1)},[t,n.name]),null});GD.displayName="EmotionGlobal";function Ds(){for(var e=arguments.length,t=new Array(e),r=0;r component."),i="";for(var s in o)o[s]&&s&&(i&&(i+=" "),i+=s)}break}default:i=o}i&&(a&&(a+=" "),a+=i)}}return a},"classnames");function S3(e,t,r){var n=[],a=bs(e,n,r);return n.length<2?r:a+t(n)}R(S3,"merge");var KD=R(function(e){var t=e.cache,r=e.serializedArr;return lp(function(){for(var n=0;n 96?JD:XD},"getDefaultShouldForwardProp"),Th=R(function(e,t,r){var n;if(t){var a=t.shouldForwardProp;n=e.__emotion_forwardProp&&a?function(o){return e.__emotion_forwardProp(o)&&a(o)}:a}return typeof n!="function"&&r&&(n=e.__emotion_forwardProp),n},"composeShouldForwardProps"),zh=`You have illegal escape sequence in your template literal, most likely inside content's property value. +`+("css`"+c+"`"));break}if(t==null)return r;var d=t[r];return d!==void 0?d:r}R(ua,"handleInterpolation");function w3(e,t,r){var n="";if(Array.isArray(r))for(var a=0;a ({})}!");return r}if(t==null||typeof t!="object"||Array.isArray(t))throw new Error("[ThemeProvider] Please make your theme prop a plain object");return Nt({},e,t)},"getTheme"),jD=gh(function(e){return gh(function(t){return HD(e,t)})}),C3=R(function(e){var t=l.useContext(ir);return e.theme!==t&&(t=jD(t)(e.theme)),l.createElement(ir.Provider,{value:t},e.children)},"ThemeProvider");function VD(e){var t=e.displayName||e.name||"Component",r=R(function(a,o){var i=l.useContext(ir);return l.createElement(e,Nt({theme:i,ref:o},a))},"render"),n=l.forwardRef(r);return n.displayName="WithTheme("+t+")",zD(n,e)}R(VD,"withTheme");var Fh="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",_h="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",UD=R(function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return ws(t,r,n),lp(function(){return Es(t,r,n)}),null},"Insertion"),qD=xs(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var a=e[Fh],o=[n],i="";typeof e.className=="string"?i=bs(t.registered,o,e.className):e.className!=null&&(i=e.className+" ");var s=ca(o,void 0,l.useContext(ir));if(s.name.indexOf("-")===-1){var c=e[_h];c&&(s=ca([s,"label:"+c+";"]))}i+=t.key+"-"+s.name;var d={};for(var p in e)ND.call(e,p)&&p!=="css"&&p!==Fh&&p!==_h&&(d[p]=e[p]);return d.ref=r,d.className=i,l.createElement(l.Fragment,null,l.createElement(UD,{cache:t,serialized:s,isStringTag:typeof a=="string"}),l.createElement(a,d))});qD.displayName="EmotionCssPropInternal";Z1(X4());var WD={name:"@emotion/react",version:"11.11.4",main:"dist/emotion-react.cjs.js",module:"dist/emotion-react.esm.js",browser:{"./dist/emotion-react.esm.js":"./dist/emotion-react.browser.esm.js"},exports:{".":{module:{worker:"./dist/emotion-react.worker.esm.js",browser:"./dist/emotion-react.browser.esm.js",default:"./dist/emotion-react.esm.js"},import:"./dist/emotion-react.cjs.mjs",default:"./dist/emotion-react.cjs.js"},"./jsx-runtime":{module:{worker:"./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",browser:"./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"},import:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"},"./_isolated-hnrs":{module:{worker:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js",browser:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js"},import:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"},"./jsx-dev-runtime":{module:{worker:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js",browser:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js"},import:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"},"./package.json":"./package.json","./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}},types:"types/index.d.ts",files:["src","dist","jsx-runtime","jsx-dev-runtime","_isolated-hnrs","types/*.d.ts","macro.*"],sideEffects:!1,author:"Emotion Contributors",license:"MIT",scripts:{"test:typescript":"dtslint types"},dependencies:{"@babel/runtime":"^7.18.3","@emotion/babel-plugin":"^11.11.0","@emotion/cache":"^11.11.0","@emotion/serialize":"^1.1.3","@emotion/use-insertion-effect-with-fallbacks":"^1.0.1","@emotion/utils":"^1.2.1","@emotion/weak-memoize":"^0.3.1","hoist-non-react-statics":"^3.3.1"},peerDependencies:{react:">=16.8.0"},peerDependenciesMeta:{"@types/react":{optional:!0}},devDependencies:{"@definitelytyped/dtslint":"0.0.112","@emotion/css":"11.11.2","@emotion/css-prettifier":"1.1.3","@emotion/server":"11.11.0","@emotion/styled":"11.11.0","html-tag-names":"^1.1.2",react:"16.14.0","svg-tag-names":"^1.1.1",typescript:"^4.5.5"},repository:"https://github.com/emotion-js/emotion/tree/main/packages/react",publishConfig:{access:"public"},"umd:main":"dist/emotion-react.umd.min.js",preconstruct:{entrypoints:["./index.js","./jsx-runtime.js","./jsx-dev-runtime.js","./_isolated-hnrs.js"],umdName:"emotionReact",exports:{envConditions:["browser","worker"],extra:{"./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}}}}},Rh=!1,GD=xs(function(e,t){!Rh&&(e.className||e.css)&&(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),Rh=!0);var r=e.styles,n=ca([r],void 0,l.useContext(ir)),a=l.useRef();return Ah(function(){var o=t.key+"-global",i=new t.sheet.constructor({key:o,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),s=!1,c=document.querySelector('style[data-emotion="'+o+" "+n.name+'"]');return t.sheet.tags.length&&(i.before=t.sheet.tags[0]),c!==null&&(s=!0,c.setAttribute("data-emotion",o),i.hydrate([c])),a.current=[i,s],function(){i.flush()}},[t]),Ah(function(){var o=a.current,i=o[0],s=o[1];if(s){o[1]=!1;return}if(n.next!==void 0&&Es(t,n.next,!0),i.tags.length){var c=i.tags[i.tags.length-1].nextElementSibling;i.before=c,i.flush()}t.insert("",n,i,!1)},[t,n.name]),null});GD.displayName="EmotionGlobal";function Ds(){for(var e=arguments.length,t=new Array(e),r=0;r component."),i="";for(var s in o)o[s]&&s&&(i&&(i+=" "),i+=s)}break}default:i=o}i&&(a&&(a+=" "),a+=i)}}return a},"classnames");function S3(e,t,r){var n=[],a=bs(e,n,r);return n.length<2?r:a+t(n)}R(S3,"merge");var KD=R(function(e){var t=e.cache,r=e.serializedArr;return lp(function(){for(var n=0;n 96?JD:XD},"getDefaultShouldForwardProp"),Th=R(function(e,t,r){var n;if(t){var a=t.shouldForwardProp;n=e.__emotion_forwardProp&&a?function(o){return e.__emotion_forwardProp(o)&&a(o)}:a}return typeof n!="function"&&r&&(n=e.__emotion_forwardProp),n},"composeShouldForwardProps"),zh=`You have illegal escape sequence in your template literal, most likely inside content's property value. Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';". You can read more about this here: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,QD=R(function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return ws(t,r,n),lp(function(){return Es(t,r,n)}),null},"Insertion"),eC=R(function e(t,r){if(t===void 0)throw new Error(`You are trying to create a styled element with an undefined component. @@ -161,7 +161,7 @@ To pass a single animation please supply them in simple values, e.g. animation(' `,77:`remToPx expects a value in "rem" but you provided it in "%s". `,78:`base must be set in "px" or "%" but you set it in "%s". -`};function R3(){for(var e=arguments.length,t=new Array(e),r=0;r 1?a-1:0),i=1;i=0&&a<1?(s=o,c=i):a>=1&&a<2?(s=i,c=o):a>=2&&a<3?(c=o,d=i):a>=3&&a<4?(c=i,d=o):a>=4&&a<5?(s=i,d=o):a>=5&&a<6&&(s=o,d=i);var p=r-o/2,m=s+p,h=c+p,f=d+p;return n(m,h,f)}R(pa,"hslToRgb");var Lh={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function B3(e){if(typeof e!="string")return e;var t=e.toLowerCase();return Lh[t]?"#"+Lh[t]:e}R(B3,"nameToHex");var nC=/^#[a-fA-F0-9]{6}$/,aC=/^#[a-fA-F0-9]{8}$/,oC=/^#[a-fA-F0-9]{3}$/,iC=/^#[a-fA-F0-9]{4}$/,Au=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,lC=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,sC=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,uC=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function Zo(e){if(typeof e!="string")throw new zt(3);var t=B3(e);if(t.match(nC))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(aC)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(oC))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(iC)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var a=Au.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=lC.exec(t.substring(0,50));if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10),alpha:parseFloat(""+o[4])>1?parseFloat(""+o[4])/100:parseFloat(""+o[4])};var i=sC.exec(t);if(i){var s=parseInt(""+i[1],10),c=parseInt(""+i[2],10)/100,d=parseInt(""+i[3],10)/100,p="rgb("+pa(s,c,d)+")",m=Au.exec(p);if(!m)throw new zt(4,t,p);return{red:parseInt(""+m[1],10),green:parseInt(""+m[2],10),blue:parseInt(""+m[3],10)}}var h=uC.exec(t.substring(0,50));if(h){var f=parseInt(""+h[1],10),v=parseInt(""+h[2],10)/100,g=parseInt(""+h[3],10)/100,w="rgb("+pa(f,v,g)+")",x=Au.exec(w);if(!x)throw new zt(4,t,w);return{red:parseInt(""+x[1],10),green:parseInt(""+x[2],10),blue:parseInt(""+x[3],10),alpha:parseFloat(""+h[4])>1?parseFloat(""+h[4])/100:parseFloat(""+h[4])}}throw new zt(5)}R(Zo,"parseToRgb");function T3(e){var t=e.red/255,r=e.green/255,n=e.blue/255,a=Math.max(t,r,n),o=Math.min(t,r,n),i=(a+o)/2;if(a===o)return e.alpha!==void 0?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var s,c=a-o,d=i>.5?c/(2-a-o):c/(a+o);switch(a){case t:s=(r-n)/c+(r =1?Bo(e,t,r):"rgba("+pa(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Bo(e.hue,e.saturation,e.lightness):"rgba("+pa(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new zt(2)}R(O3,"hsla");function Fl(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return ed("#"+gr(e)+gr(t)+gr(r));if(typeof e=="object"&&t===void 0&&r===void 0)return ed("#"+gr(e.red)+gr(e.green)+gr(e.blue));throw new zt(6)}R(Fl,"rgb");function fa(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=Zo(e);return"rgba("+a.red+","+a.green+","+a.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?Fl(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Fl(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new zt(7)}R(fa,"rgba");var dC=R(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isRgb"),pC=R(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},"isRgba"),fC=R(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isHsl"),hC=R(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"},"isHsla");function dp(e){if(typeof e!="object")throw new zt(8);if(pC(e))return fa(e);if(dC(e))return Fl(e);if(hC(e))return O3(e);if(fC(e))return L3(e);throw new zt(8)}R(dp,"toColorString");function pp(e,t,r){return R(function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):pp(e,t,n)},"fn")}R(pp,"curried");function Jo(e){return pp(e,e.length,[])}R(Jo,"curry");function Xo(e,t,r){return Math.max(e,Math.min(t,r))}R(Xo,"guard");function M3(e,t){if(t==="transparent")return t;var r=cp(t);return dp(Nt({},r,{lightness:Xo(0,1,r.lightness-parseFloat(e))}))}R(M3,"darken");var mC=Jo(M3),gC=mC;function P3(e,t){if(t==="transparent")return t;var r=cp(t);return dp(Nt({},r,{lightness:Xo(0,1,r.lightness+parseFloat(e))}))}R(P3,"lighten");var vC=Jo(P3),yC=vC;function $3(e,t){if(t==="transparent")return t;var r=Zo(t),n=typeof r.alpha=="number"?r.alpha:1,a=Nt({},r,{alpha:Xo(0,1,(n*100+parseFloat(e)*100)/100)});return fa(a)}R($3,"opacify");var bC=Jo($3),wC=bC;function N3(e,t){if(t==="transparent")return t;var r=Zo(t),n=typeof r.alpha=="number"?r.alpha:1,a=Nt({},r,{alpha:Xo(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return fa(a)}R(N3,"transparentize");var EC=Jo(N3),xC=EC,j={secondary:"#029CFD",tertiary:"#FAFBFC",ancillary:"#22a699",orange:"#FC521F",gold:"#FFAE00",green:"#66BF3C",seafoam:"#37D5D3",purple:"#6F2CAC",ultraviolet:"#2A0481",lightest:"#FFFFFF",lighter:"#F7FAFC",light:"#EEF3F6",mediumlight:"#ECF4F9",medium:"#D9E8F2",mediumdark:"#73828C",dark:"#5C6870",darker:"#454E54",darkest:"#2E3438",border:"hsla(203, 50%, 30%, 0.15)",positive:"#66BF3C",negative:"#FF4400",warning:"#E69D00",critical:"#FFFFFF",positiveText:"#448028",negativeText:"#D43900",warningText:"#A15C20"},vr={app:"#F6F9FC",gridCellSize:10,hoverable:xC(.9,j.secondary),positive:"#E1FFD4",negative:"#FEDED2",warning:"#FFF5CF",critical:"#FF4400"},Lt={fonts:{base:['"Nunito Sans"',"-apple-system",'".SFNSText-Regular"','"San Francisco"',"BlinkMacSystemFont",'"Segoe UI"','"Helvetica Neue"',"Helvetica","Arial","sans-serif"].join(", "),mono:["ui-monospace","Menlo","Monaco",'"Roboto Mono"','"Oxygen Mono"','"Ubuntu Monospace"','"Source Code Pro"','"Droid Sans Mono"','"Courier New"',"monospace"].join(", ")},weight:{regular:400,bold:700},size:{s1:12,s2:14,s3:16,m1:20,m2:24,m3:28,l1:32,l2:40,l3:48,code:90}},H3=Z1(fD(),1),DC=(0,H3.default)(1)(({typography:e})=>({body:{fontFamily:e.fonts.base,fontSize:e.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},"*":{boxSizing:"border-box"},"h1, h2, h3, h4, h5, h6":{fontWeight:e.weight.regular,margin:0,padding:0},"button, input, textarea, select":{fontFamily:"inherit",fontSize:"inherit",boxSizing:"border-box"},sub:{fontSize:"0.8em",bottom:"-0.2em"},sup:{fontSize:"0.8em",top:"-0.2em"},"b, strong":{fontWeight:e.weight.bold},hr:{border:"none",borderTop:"1px solid silver",clear:"both",marginBottom:"1.25rem"},code:{fontFamily:e.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"},pre:{fontFamily:e.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0"}}));(0,H3.default)(1)(({color:e,background:t,typography:r})=>{let n=DC({typography:r});return{...n,body:{...n.body,color:e.defaultText,background:t.app,overflow:"hidden"},hr:{...n.hr,borderTop:`1px solid ${e.border}`}}});var CC={base:"dark",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:"#222425",appContentBg:"#1B1C1D",appPreviewBg:j.lightest,appBorderColor:"rgba(255,255,255,.1)",appBorderRadius:4,fontBase:Lt.fonts.base,fontCode:Lt.fonts.mono,textColor:"#C9CDCF",textInverseColor:"#222425",textMutedColor:"#798186",barTextColor:j.mediumdark,barHoverColor:j.secondary,barSelectedColor:j.secondary,barBg:"#292C2E",buttonBg:"#222425",buttonBorder:"rgba(255,255,255,.1)",booleanBg:"#222425",booleanSelectedBg:"#2E3438",inputBg:"#1B1C1D",inputBorder:"rgba(255,255,255,.1)",inputTextColor:j.lightest,inputBorderRadius:4},SC=CC,kC={base:"light",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:vr.app,appContentBg:j.lightest,appPreviewBg:j.lightest,appBorderColor:j.border,appBorderRadius:4,fontBase:Lt.fonts.base,fontCode:Lt.fonts.mono,textColor:j.darkest,textInverseColor:j.lightest,textMutedColor:j.dark,barTextColor:j.mediumdark,barHoverColor:j.secondary,barSelectedColor:j.secondary,barBg:j.lightest,buttonBg:vr.app,buttonBorder:j.medium,booleanBg:j.mediumlight,booleanSelectedBg:j.lightest,inputBg:j.lightest,inputBorder:j.border,inputTextColor:j.darkest,inputBorderRadius:4},_l=kC,AC=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})();const{logger:FC}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var{window:Fu}=AC,_C=R(e=>({color:e}),"mkColor"),RC=R(e=>typeof e!="string"?(FC.warn(`Color passed to theme object should be a string. Instead ${e}(${typeof e}) was passed.`),!1):!0,"isColorString"),IC=R(e=>!/(gradient|var|calc)/.test(e),"isValidColorForPolished"),BC=R((e,t)=>e==="darken"?fa(`${gC(1,t)}`,.95):e==="lighten"?fa(`${yC(1,t)}`,.95):t,"applyPolished"),j3=R(e=>t=>{if(!RC(t)||!IC(t))return t;try{return BC(e,t)}catch{return t}},"colorFactory"),Ha=j3("lighten");j3("darken");var V3=R(()=>!Fu||!Fu.matchMedia?"light":Fu.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light","getPreferredColorScheme"),td={light:_l,dark:SC,normal:_l};V3();var TC={rubber:"cubic-bezier(0.175, 0.885, 0.335, 1.05)"},zC=sr` +`};function R3(){for(var e=arguments.length,t=new Array(e),r=0;r 1?a-1:0),i=1;i=0&&a<1?(s=o,c=i):a>=1&&a<2?(s=i,c=o):a>=2&&a<3?(c=o,d=i):a>=3&&a<4?(c=i,d=o):a>=4&&a<5?(s=i,d=o):a>=5&&a<6&&(s=o,d=i);var p=r-o/2,m=s+p,h=c+p,f=d+p;return n(m,h,f)}R(pa,"hslToRgb");var Lh={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function B3(e){if(typeof e!="string")return e;var t=e.toLowerCase();return Lh[t]?"#"+Lh[t]:e}R(B3,"nameToHex");var nC=/^#[a-fA-F0-9]{6}$/,aC=/^#[a-fA-F0-9]{8}$/,oC=/^#[a-fA-F0-9]{3}$/,iC=/^#[a-fA-F0-9]{4}$/,Au=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,lC=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,sC=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,uC=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function Zo(e){if(typeof e!="string")throw new zt(3);var t=B3(e);if(t.match(nC))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(aC)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(oC))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(iC)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var a=Au.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=lC.exec(t.substring(0,50));if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10),alpha:parseFloat(""+o[4])>1?parseFloat(""+o[4])/100:parseFloat(""+o[4])};var i=sC.exec(t);if(i){var s=parseInt(""+i[1],10),c=parseInt(""+i[2],10)/100,d=parseInt(""+i[3],10)/100,p="rgb("+pa(s,c,d)+")",m=Au.exec(p);if(!m)throw new zt(4,t,p);return{red:parseInt(""+m[1],10),green:parseInt(""+m[2],10),blue:parseInt(""+m[3],10)}}var h=uC.exec(t.substring(0,50));if(h){var f=parseInt(""+h[1],10),v=parseInt(""+h[2],10)/100,g=parseInt(""+h[3],10)/100,w="rgb("+pa(f,v,g)+")",x=Au.exec(w);if(!x)throw new zt(4,t,w);return{red:parseInt(""+x[1],10),green:parseInt(""+x[2],10),blue:parseInt(""+x[3],10),alpha:parseFloat(""+h[4])>1?parseFloat(""+h[4])/100:parseFloat(""+h[4])}}throw new zt(5)}R(Zo,"parseToRgb");function T3(e){var t=e.red/255,r=e.green/255,n=e.blue/255,a=Math.max(t,r,n),o=Math.min(t,r,n),i=(a+o)/2;if(a===o)return e.alpha!==void 0?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var s,c=a-o,d=i>.5?c/(2-a-o):c/(a+o);switch(a){case t:s=(r-n)/c+(r =1?Bo(e,t,r):"rgba("+pa(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Bo(e.hue,e.saturation,e.lightness):"rgba("+pa(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new zt(2)}R(O3,"hsla");function Fl(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return ed("#"+gr(e)+gr(t)+gr(r));if(typeof e=="object"&&t===void 0&&r===void 0)return ed("#"+gr(e.red)+gr(e.green)+gr(e.blue));throw new zt(6)}R(Fl,"rgb");function fa(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=Zo(e);return"rgba("+a.red+","+a.green+","+a.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?Fl(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Fl(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new zt(7)}R(fa,"rgba");var dC=R(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isRgb"),pC=R(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},"isRgba"),fC=R(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isHsl"),hC=R(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"},"isHsla");function dp(e){if(typeof e!="object")throw new zt(8);if(pC(e))return fa(e);if(dC(e))return Fl(e);if(hC(e))return O3(e);if(fC(e))return L3(e);throw new zt(8)}R(dp,"toColorString");function pp(e,t,r){return R(function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):pp(e,t,n)},"fn")}R(pp,"curried");function Jo(e){return pp(e,e.length,[])}R(Jo,"curry");function Xo(e,t,r){return Math.max(e,Math.min(t,r))}R(Xo,"guard");function M3(e,t){if(t==="transparent")return t;var r=cp(t);return dp(Nt({},r,{lightness:Xo(0,1,r.lightness-parseFloat(e))}))}R(M3,"darken");var mC=Jo(M3),gC=mC;function P3(e,t){if(t==="transparent")return t;var r=cp(t);return dp(Nt({},r,{lightness:Xo(0,1,r.lightness+parseFloat(e))}))}R(P3,"lighten");var vC=Jo(P3),yC=vC;function $3(e,t){if(t==="transparent")return t;var r=Zo(t),n=typeof r.alpha=="number"?r.alpha:1,a=Nt({},r,{alpha:Xo(0,1,(n*100+parseFloat(e)*100)/100)});return fa(a)}R($3,"opacify");var bC=Jo($3),wC=bC;function N3(e,t){if(t==="transparent")return t;var r=Zo(t),n=typeof r.alpha=="number"?r.alpha:1,a=Nt({},r,{alpha:Xo(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return fa(a)}R(N3,"transparentize");var EC=Jo(N3),xC=EC,H={primary:"#FF4785",secondary:"#029CFD",tertiary:"#FAFBFC",ancillary:"#22a699",orange:"#FC521F",gold:"#FFAE00",green:"#66BF3C",seafoam:"#37D5D3",purple:"#6F2CAC",ultraviolet:"#2A0481",lightest:"#FFFFFF",lighter:"#F7FAFC",light:"#EEF3F6",mediumlight:"#ECF4F9",medium:"#D9E8F2",mediumdark:"#73828C",dark:"#5C6870",darker:"#454E54",darkest:"#2E3438",border:"hsla(203, 50%, 30%, 0.15)",positive:"#66BF3C",negative:"#FF4400",warning:"#E69D00",critical:"#FFFFFF",defaultText:"#2E3438",inverseText:"#FFFFFF",positiveText:"#448028",negativeText:"#D43900",warningText:"#A15C20"},vr={app:"#F6F9FC",bar:H.lightest,content:H.lightest,preview:H.lightest,gridCellSize:10,hoverable:xC(.9,H.secondary),positive:"#E1FFD4",negative:"#FEDED2",warning:"#FFF5CF",critical:"#FF4400"},Lt={fonts:{base:['"Nunito Sans"',"-apple-system",'".SFNSText-Regular"','"San Francisco"',"BlinkMacSystemFont",'"Segoe UI"','"Helvetica Neue"',"Helvetica","Arial","sans-serif"].join(", "),mono:["ui-monospace","Menlo","Monaco",'"Roboto Mono"','"Oxygen Mono"','"Ubuntu Monospace"','"Source Code Pro"','"Droid Sans Mono"','"Courier New"',"monospace"].join(", ")},weight:{regular:400,bold:700},size:{s1:12,s2:14,s3:16,m1:20,m2:24,m3:28,l1:32,l2:40,l3:48,code:90}},H3=Z1(fD(),1),DC=(0,H3.default)(1)(({typography:e})=>({body:{fontFamily:e.fonts.base,fontSize:e.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},"*":{boxSizing:"border-box"},"h1, h2, h3, h4, h5, h6":{fontWeight:e.weight.regular,margin:0,padding:0},"button, input, textarea, select":{fontFamily:"inherit",fontSize:"inherit",boxSizing:"border-box"},sub:{fontSize:"0.8em",bottom:"-0.2em"},sup:{fontSize:"0.8em",top:"-0.2em"},"b, strong":{fontWeight:e.weight.bold},hr:{border:"none",borderTop:"1px solid silver",clear:"both",marginBottom:"1.25rem"},code:{fontFamily:e.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"},pre:{fontFamily:e.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0"}}));(0,H3.default)(1)(({color:e,background:t,typography:r})=>{let n=DC({typography:r});return{...n,body:{...n.body,color:e.defaultText,background:t.app,overflow:"hidden"},hr:{...n.hr,borderTop:`1px solid ${e.border}`}}});var CC={base:"dark",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:"#222425",appContentBg:"#1B1C1D",appPreviewBg:H.lightest,appBorderColor:"rgba(255,255,255,.1)",appBorderRadius:4,fontBase:Lt.fonts.base,fontCode:Lt.fonts.mono,textColor:"#C9CDCF",textInverseColor:"#222425",textMutedColor:"#798186",barTextColor:H.mediumdark,barHoverColor:H.secondary,barSelectedColor:H.secondary,barBg:"#292C2E",buttonBg:"#222425",buttonBorder:"rgba(255,255,255,.1)",booleanBg:"#222425",booleanSelectedBg:"#2E3438",inputBg:"#1B1C1D",inputBorder:"rgba(255,255,255,.1)",inputTextColor:H.lightest,inputBorderRadius:4},SC=CC,kC={base:"light",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:vr.app,appContentBg:H.lightest,appPreviewBg:H.lightest,appBorderColor:H.border,appBorderRadius:4,fontBase:Lt.fonts.base,fontCode:Lt.fonts.mono,textColor:H.darkest,textInverseColor:H.lightest,textMutedColor:H.dark,barTextColor:H.mediumdark,barHoverColor:H.secondary,barSelectedColor:H.secondary,barBg:H.lightest,buttonBg:vr.app,buttonBorder:H.medium,booleanBg:H.mediumlight,booleanSelectedBg:H.lightest,inputBg:H.lightest,inputBorder:H.border,inputTextColor:H.darkest,inputBorderRadius:4},_l=kC,AC=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})();const{logger:FC}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var{window:Fu}=AC,_C=R(e=>({color:e}),"mkColor"),RC=R(e=>typeof e!="string"?(FC.warn(`Color passed to theme object should be a string. Instead ${e}(${typeof e}) was passed.`),!1):!0,"isColorString"),IC=R(e=>!/(gradient|var|calc)/.test(e),"isValidColorForPolished"),BC=R((e,t)=>e==="darken"?fa(`${gC(1,t)}`,.95):e==="lighten"?fa(`${yC(1,t)}`,.95):t,"applyPolished"),j3=R(e=>t=>{if(!RC(t)||!IC(t))return t;try{return BC(e,t)}catch{return t}},"colorFactory"),Ha=j3("lighten");j3("darken");var V3=R(()=>!Fu||!Fu.matchMedia?"light":Fu.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light","getPreferredColorScheme"),td={light:_l,dark:SC,normal:_l};V3();var TC={rubber:"cubic-bezier(0.175, 0.885, 0.335, 1.05)"},zC=sr` from { transform: rotate(0deg); } @@ -195,7 +195,7 @@ To pass a single animation please supply them in simple values, e.g. animation(' &:active { transform: translate3d(0, 0, 0); } -`,$C={rotate360:zC,glow:U3,float:LC,jiggle:OC,inlineGlow:MC,hoverable:PC},NC={BASE_FONT_FAMILY:"Menlo, monospace",BASE_FONT_SIZE:"11px",BASE_LINE_HEIGHT:1.2,BASE_BACKGROUND_COLOR:"rgb(36, 36, 36)",BASE_COLOR:"rgb(213, 213, 213)",OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES:10,OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES:5,OBJECT_NAME_COLOR:"rgb(227, 110, 236)",OBJECT_VALUE_NULL_COLOR:"rgb(127, 127, 127)",OBJECT_VALUE_UNDEFINED_COLOR:"rgb(127, 127, 127)",OBJECT_VALUE_REGEXP_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_STRING_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_SYMBOL_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_NUMBER_COLOR:"hsl(252, 100%, 75%)",OBJECT_VALUE_BOOLEAN_COLOR:"hsl(252, 100%, 75%)",OBJECT_VALUE_FUNCTION_PREFIX_COLOR:"rgb(85, 106, 242)",HTML_TAG_COLOR:"rgb(93, 176, 215)",HTML_TAGNAME_COLOR:"rgb(93, 176, 215)",HTML_TAGNAME_TEXT_TRANSFORM:"lowercase",HTML_ATTRIBUTE_NAME_COLOR:"rgb(155, 187, 220)",HTML_ATTRIBUTE_VALUE_COLOR:"rgb(242, 151, 102)",HTML_COMMENT_COLOR:"rgb(137, 137, 137)",HTML_DOCTYPE_COLOR:"rgb(192, 192, 192)",ARROW_COLOR:"rgb(145, 145, 145)",ARROW_MARGIN_RIGHT:3,ARROW_FONT_SIZE:12,ARROW_ANIMATION_DURATION:"0",TREENODE_FONT_FAMILY:"Menlo, monospace",TREENODE_FONT_SIZE:"11px",TREENODE_LINE_HEIGHT:1.2,TREENODE_PADDING_LEFT:12,TABLE_BORDER_COLOR:"rgb(85, 85, 85)",TABLE_TH_BACKGROUND_COLOR:"rgb(44, 44, 44)",TABLE_TH_HOVER_COLOR:"rgb(48, 48, 48)",TABLE_SORT_ICON_COLOR:"black",TABLE_DATA_BACKGROUND_IMAGE:"linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 50%, rgba(51, 139, 255, 0.0980392) 50%, rgba(51, 139, 255, 0.0980392))",TABLE_DATA_BACKGROUND_SIZE:"128px 32px"},HC={BASE_FONT_FAMILY:"Menlo, monospace",BASE_FONT_SIZE:"11px",BASE_LINE_HEIGHT:1.2,BASE_BACKGROUND_COLOR:"white",BASE_COLOR:"black",OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES:10,OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES:5,OBJECT_NAME_COLOR:"rgb(136, 19, 145)",OBJECT_VALUE_NULL_COLOR:"rgb(128, 128, 128)",OBJECT_VALUE_UNDEFINED_COLOR:"rgb(128, 128, 128)",OBJECT_VALUE_REGEXP_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_STRING_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_SYMBOL_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_NUMBER_COLOR:"rgb(28, 0, 207)",OBJECT_VALUE_BOOLEAN_COLOR:"rgb(28, 0, 207)",OBJECT_VALUE_FUNCTION_PREFIX_COLOR:"rgb(13, 34, 170)",HTML_TAG_COLOR:"rgb(168, 148, 166)",HTML_TAGNAME_COLOR:"rgb(136, 18, 128)",HTML_TAGNAME_TEXT_TRANSFORM:"lowercase",HTML_ATTRIBUTE_NAME_COLOR:"rgb(153, 69, 0)",HTML_ATTRIBUTE_VALUE_COLOR:"rgb(26, 26, 166)",HTML_COMMENT_COLOR:"rgb(35, 110, 37)",HTML_DOCTYPE_COLOR:"rgb(192, 192, 192)",ARROW_COLOR:"#6e6e6e",ARROW_MARGIN_RIGHT:3,ARROW_FONT_SIZE:12,ARROW_ANIMATION_DURATION:"0",TREENODE_FONT_FAMILY:"Menlo, monospace",TREENODE_FONT_SIZE:"11px",TREENODE_LINE_HEIGHT:1.2,TREENODE_PADDING_LEFT:12,TABLE_BORDER_COLOR:"#aaa",TABLE_TH_BACKGROUND_COLOR:"#eee",TABLE_TH_HOVER_COLOR:"hsla(0, 0%, 90%, 1)",TABLE_SORT_ICON_COLOR:"#6e6e6e",TABLE_DATA_BACKGROUND_IMAGE:"linear-gradient(to bottom, white, white 50%, rgb(234, 243, 255) 50%, rgb(234, 243, 255))",TABLE_DATA_BACKGROUND_SIZE:"128px 32px"},jC=R(e=>Object.entries(e).reduce((t,[r,n])=>({...t,[r]:_C(n)}),{}),"convertColors"),VC=R(({colors:e,mono:t})=>{let r=jC(e);return{token:{fontFamily:t,WebkitFontSmoothing:"antialiased","&.tag":r.red3,"&.comment":{...r.green1,fontStyle:"italic"},"&.prolog":{...r.green1,fontStyle:"italic"},"&.doctype":{...r.green1,fontStyle:"italic"},"&.cdata":{...r.green1,fontStyle:"italic"},"&.string":r.red1,"&.url":r.cyan1,"&.symbol":r.cyan1,"&.number":r.cyan1,"&.boolean":r.cyan1,"&.variable":r.cyan1,"&.constant":r.cyan1,"&.inserted":r.cyan1,"&.atrule":r.blue1,"&.keyword":r.blue1,"&.attr-value":r.blue1,"&.punctuation":r.gray1,"&.operator":r.gray1,"&.function":r.gray1,"&.deleted":r.red2,"&.important":{fontWeight:"bold"},"&.bold":{fontWeight:"bold"},"&.italic":{fontStyle:"italic"},"&.class-name":r.cyan2,"&.selector":r.red3,"&.attr-name":r.red4,"&.property":r.red4,"&.regex":r.red4,"&.entity":r.red4,"&.directive.tag .tag":{background:"#ffff00",...r.gray1}},"language-json .token.boolean":r.blue1,"language-json .token.number":r.blue1,"language-json .token.property":r.cyan2,namespace:{opacity:.7}}},"create"),UC={green1:"#008000",red1:"#A31515",red2:"#9a050f",red3:"#800000",red4:"#ff0000",gray1:"#393A34",cyan1:"#36acaa",cyan2:"#2B91AF",blue1:"#0000ff",blue2:"#00009f"},qC={green1:"#7C7C7C",red1:"#92C379",red2:"#9a050f",red3:"#A8FF60",red4:"#96CBFE",gray1:"#EDEDED",cyan1:"#C6C5FE",cyan2:"#FFFFB6",blue1:"#B474DD",blue2:"#00009f"},WC=R(e=>({primary:e.colorPrimary,secondary:e.colorSecondary,tertiary:j.tertiary,ancillary:j.ancillary,orange:j.orange,gold:j.gold,green:j.green,seafoam:j.seafoam,purple:j.purple,ultraviolet:j.ultraviolet,lightest:j.lightest,lighter:j.lighter,light:j.light,mediumlight:j.mediumlight,medium:j.medium,mediumdark:j.mediumdark,dark:j.dark,darker:j.darker,darkest:j.darkest,border:j.border,positive:j.positive,negative:j.negative,warning:j.warning,critical:j.critical,defaultText:e.textColor||j.darkest,inverseText:e.textInverseColor||j.lightest,positiveText:j.positiveText,negativeText:j.negativeText,warningText:j.warningText}),"createColors"),rd=R((e=td[V3()])=>{let{base:t,colorPrimary:r,colorSecondary:n,appBg:a,appContentBg:o,appPreviewBg:i,appBorderColor:s,appBorderRadius:c,fontBase:d,fontCode:p,textColor:m,textInverseColor:h,barTextColor:f,barHoverColor:v,barSelectedColor:g,barBg:w,buttonBg:x,buttonBorder:D,booleanBg:E,booleanSelectedBg:b,inputBg:C,inputBorder:S,inputTextColor:k,inputBorderRadius:A,brandTitle:_,brandUrl:I,brandImage:B,brandTarget:z,gridCellSize:L,...M}=e;return{...M,base:t,color:WC(e),background:{app:a,bar:w,content:o,preview:i,gridCellSize:L||vr.gridCellSize,hoverable:vr.hoverable,positive:vr.positive,negative:vr.negative,warning:vr.warning,critical:vr.critical},typography:{fonts:{base:d,mono:p},weight:Lt.weight,size:Lt.size},animation:$C,easing:TC,input:{background:C,border:S,borderRadius:A,color:k},button:{background:x||C,border:D||S},boolean:{background:E||S,selectedBackground:b||C},layoutMargin:10,appBorderColor:s,appBorderRadius:c,barTextColor:f,barHoverColor:v||n,barSelectedColor:g||n,barBg:w,brand:{title:_,url:I,image:B||(_?null:void 0),target:z},code:VC({colors:t==="light"?UC:qC,mono:p}),addonActionsTheme:{...t==="light"?HC:NC,BASE_FONT_FAMILY:p,BASE_FONT_SIZE:Lt.size.s2-1,BASE_LINE_HEIGHT:"18px",BASE_BACKGROUND_COLOR:"transparent",BASE_COLOR:m,ARROW_COLOR:wC(.2,s),ARROW_MARGIN_RIGHT:4,ARROW_FONT_SIZE:8,TREENODE_FONT_FAMILY:p,TREENODE_FONT_SIZE:Lt.size.s2-1,TREENODE_LINE_HEIGHT:"18px",TREENODE_PADDING_LEFT:12}}},"convert");const{logger:GC}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var YC=R(e=>Object.keys(e).length===0,"isEmpty"),_u=R(e=>e!=null&&typeof e=="object","isObject"),KC=R((e,...t)=>Object.prototype.hasOwnProperty.call(e,...t),"hasOwnProperty"),ZC=R(()=>Object.create(null),"makeObjectWithoutPrototype"),q3=R((e,t)=>e===t||!_u(e)||!_u(t)?{}:Object.keys(e).reduce((r,n)=>{if(KC(t,n)){let a=q3(e[n],t[n]);return _u(a)&&YC(a)||(r[n]=a),r}return r[n]=void 0,r},ZC()),"deletedDiff"),JC=q3;function W3(e){for(var t=[],r=1;r Object.entries(e).reduce((t,[r,n])=>({...t,[r]:_C(n)}),{}),"convertColors"),VC=R(({colors:e,mono:t})=>{let r=jC(e);return{token:{fontFamily:t,WebkitFontSmoothing:"antialiased","&.tag":r.red3,"&.comment":{...r.green1,fontStyle:"italic"},"&.prolog":{...r.green1,fontStyle:"italic"},"&.doctype":{...r.green1,fontStyle:"italic"},"&.cdata":{...r.green1,fontStyle:"italic"},"&.string":r.red1,"&.url":r.cyan1,"&.symbol":r.cyan1,"&.number":r.cyan1,"&.boolean":r.cyan1,"&.variable":r.cyan1,"&.constant":r.cyan1,"&.inserted":r.cyan1,"&.atrule":r.blue1,"&.keyword":r.blue1,"&.attr-value":r.blue1,"&.punctuation":r.gray1,"&.operator":r.gray1,"&.function":r.gray1,"&.deleted":r.red2,"&.important":{fontWeight:"bold"},"&.bold":{fontWeight:"bold"},"&.italic":{fontStyle:"italic"},"&.class-name":r.cyan2,"&.selector":r.red3,"&.attr-name":r.red4,"&.property":r.red4,"&.regex":r.red4,"&.entity":r.red4,"&.directive.tag .tag":{background:"#ffff00",...r.gray1}},"language-json .token.boolean":r.blue1,"language-json .token.number":r.blue1,"language-json .token.property":r.cyan2,namespace:{opacity:.7}}},"create"),UC={green1:"#008000",red1:"#A31515",red2:"#9a050f",red3:"#800000",red4:"#ff0000",gray1:"#393A34",cyan1:"#36acaa",cyan2:"#2B91AF",blue1:"#0000ff",blue2:"#00009f"},qC={green1:"#7C7C7C",red1:"#92C379",red2:"#9a050f",red3:"#A8FF60",red4:"#96CBFE",gray1:"#EDEDED",cyan1:"#C6C5FE",cyan2:"#FFFFB6",blue1:"#B474DD",blue2:"#00009f"},WC=R(e=>({primary:e.colorPrimary,secondary:e.colorSecondary,tertiary:H.tertiary,ancillary:H.ancillary,orange:H.orange,gold:H.gold,green:H.green,seafoam:H.seafoam,purple:H.purple,ultraviolet:H.ultraviolet,lightest:H.lightest,lighter:H.lighter,light:H.light,mediumlight:H.mediumlight,medium:H.medium,mediumdark:H.mediumdark,dark:H.dark,darker:H.darker,darkest:H.darkest,border:H.border,positive:H.positive,negative:H.negative,warning:H.warning,critical:H.critical,defaultText:e.textColor||H.darkest,inverseText:e.textInverseColor||H.lightest,positiveText:H.positiveText,negativeText:H.negativeText,warningText:H.warningText}),"createColors"),rd=R((e=td[V3()])=>{let{base:t,colorPrimary:r,colorSecondary:n,appBg:a,appContentBg:o,appPreviewBg:i,appBorderColor:s,appBorderRadius:c,fontBase:d,fontCode:p,textColor:m,textInverseColor:h,barTextColor:f,barHoverColor:v,barSelectedColor:g,barBg:w,buttonBg:x,buttonBorder:D,booleanBg:E,booleanSelectedBg:b,inputBg:C,inputBorder:S,inputTextColor:k,inputBorderRadius:A,brandTitle:_,brandUrl:I,brandImage:B,brandTarget:z,gridCellSize:L,...M}=e;return{...M,base:t,color:WC(e),background:{app:a,bar:w,content:o,preview:i,gridCellSize:L||vr.gridCellSize,hoverable:vr.hoverable,positive:vr.positive,negative:vr.negative,warning:vr.warning,critical:vr.critical},typography:{fonts:{base:d,mono:p},weight:Lt.weight,size:Lt.size},animation:$C,easing:TC,input:{background:C,border:S,borderRadius:A,color:k},button:{background:x||C,border:D||S},boolean:{background:E||S,selectedBackground:b||C},layoutMargin:10,appBorderColor:s,appBorderRadius:c,barTextColor:f,barHoverColor:v||n,barSelectedColor:g||n,barBg:w,brand:{title:_,url:I,image:B||(_?null:void 0),target:z},code:VC({colors:t==="light"?UC:qC,mono:p}),addonActionsTheme:{...t==="light"?HC:NC,BASE_FONT_FAMILY:p,BASE_FONT_SIZE:Lt.size.s2-1,BASE_LINE_HEIGHT:"18px",BASE_BACKGROUND_COLOR:"transparent",BASE_COLOR:m,ARROW_COLOR:wC(.2,s),ARROW_MARGIN_RIGHT:4,ARROW_FONT_SIZE:8,TREENODE_FONT_FAMILY:p,TREENODE_FONT_SIZE:Lt.size.s2-1,TREENODE_LINE_HEIGHT:"18px",TREENODE_PADDING_LEFT:12}}},"convert");const{logger:GC}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var YC=R(e=>Object.keys(e).length===0,"isEmpty"),_u=R(e=>e!=null&&typeof e=="object","isObject"),KC=R((e,...t)=>Object.prototype.hasOwnProperty.call(e,...t),"hasOwnProperty"),ZC=R(()=>Object.create(null),"makeObjectWithoutPrototype"),q3=R((e,t)=>e===t||!_u(e)||!_u(t)?{}:Object.keys(e).reduce((r,n)=>{if(KC(t,n)){let a=q3(e[n],t[n]);return _u(a)&&YC(a)||(r[n]=a),r}return r[n]=void 0,r},ZC()),"deletedDiff"),JC=q3;function W3(e){for(var t=[],r=1;r 1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],n=0;n 2&&arguments[2]!==void 0?arguments[2]:[];return xo({children:C,lineNumber:S,lineNumberStyle:s,largestLineNumber:i,showInlineLineNumbers:a,lineProps:r,className:k,showLineNumbers:n,wrapLongLines:c})}u(v,"createWrappedLine");function g(C,S){if(n&&S&&a){var k=yp(s,S,i);C.unshift(vp(S,k))}return C}u(g,"createUnwrappedLine");function w(C,S){var k=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||k.length>0?v(C,S,k):g(C,S)}u(w,"createLine");for(var x=u(function(){var C=p[f],S=C.children[0].value,k=dy(S);if(k){var A=S.split(` `);A.forEach(function(_,I){var B=n&&m.length+o,z={type:"text",value:"".concat(_,` -`)};if(I===0){var L=p.slice(h+1,f).concat(xo({children:[z],className:C.properties.className})),M=w(L,B);m.push(M)}else if(I===A.length-1){var O=p[f+1]&&p[f+1].children&&p[f+1].children[0],P={type:"text",value:"".concat(_)};if(O){var H=xo({children:[P],className:C.properties.className});p.splice(f+1,0,H)}else{var U=[P],V=w(U,B,C.properties.className);m.push(V)}}else{var G=[z],Q=w(G,B,C.properties.className);m.push(Q)}}),h=f}f++},"_loop");f {lS(),pS(),ay(),uy(),mS(),by=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"],u(id,"ownKeys"),u(st,"_objectSpread"),wy=/\n/g,u(dy,"getNewLines"),u(py,"getAllLineNumbers"),u(fy,"AllLineNumbers"),u(hy,"getEmWidthOfNumber"),u(vp,"getInlineLineNumber"),u(yp,"assembleLineNumberStyles"),u(xo,"createLineElement"),u(bp,"flattenCodeTree"),u(my,"processLines"),u(gy,"defaultRenderer"),u(wp,"isHighlightJs"),u(vy,"getCodeTree"),u(yy,"default")}),vS=q((e,t)=>{t.exports=n;var r=Object.prototype.hasOwnProperty;function n(){for(var a={},o=0;o {t.exports=n;var r=n.prototype;r.space=null,r.normal={},r.property={};function n(a,o,i){this.property=a,this.normal=o,i&&(this.space=i)}u(n,"Schema")}),yS=q((e,t)=>{var r=vS(),n=Ey();t.exports=a;function a(o){for(var i=o.length,s=[],c=[],d=-1,p,m;++d{t.exports=r;function r(n){return n.toLowerCase()}u(r,"normalize")}),xy=q((e,t)=>{t.exports=n;var r=n.prototype;r.space=null,r.attribute=null,r.property=null,r.boolean=!1,r.booleanish=!1,r.overloadedBoolean=!1,r.number=!1,r.commaSeparated=!1,r.spaceSeparated=!1,r.commaOrSpaceSeparated=!1,r.mustUseProperty=!1,r.defined=!1;function n(a,o){this.property=a,this.attribute=o}u(n,"Info")}),xp=q(e=>{var t=0;e.boolean=r(),e.booleanish=r(),e.overloadedBoolean=r(),e.number=r(),e.spaceSeparated=r(),e.commaSeparated=r(),e.commaOrSpaceSeparated=r();function r(){return Math.pow(2,++t)}u(r,"increment")}),Dy=q((e,t)=>{var r=xy(),n=xp();t.exports=i,i.prototype=new r,i.prototype.defined=!0;var a=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],o=a.length;function i(c,d,p,m){var h=-1,f;for(s(this,"space",m),r.call(this,c,d);++h {var r=Ep(),n=Ey(),a=Dy();t.exports=o;function o(i){var s=i.space,c=i.mustUseProperty||[],d=i.attributes||{},p=i.properties,m=i.transform,h={},f={},v,g;for(v in p)g=new a(v,m(d,v),p[v],s),c.indexOf(v)!==-1&&(g.mustUseProperty=!0),h[v]=g,f[r(v)]=v,f[r(g.attribute)]=v;return new n(h,f,s)}u(o,"create")}),bS=q((e,t)=>{var r=Qo();t.exports=r({space:"xlink",transform:n,properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}});function n(a,o){return"xlink:"+o.slice(5).toLowerCase()}u(n,"xlinkTransform")}),wS=q((e,t)=>{var r=Qo();t.exports=r({space:"xml",transform:n,properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function n(a,o){return"xml:"+o.slice(3).toLowerCase()}u(n,"xmlTransform")}),ES=q((e,t)=>{t.exports=r;function r(n,a){return a in n?n[a]:a}u(r,"caseSensitiveTransform")}),Cy=q((e,t)=>{var r=ES();t.exports=n;function n(a,o){return r(a,o.toLowerCase())}u(n,"caseInsensitiveTransform")}),xS=q((e,t)=>{var r=Qo(),n=Cy();t.exports=r({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:n,properties:{xmlns:null,xmlnsXLink:null}})}),DS=q((e,t)=>{var r=xp(),n=Qo(),a=r.booleanish,o=r.number,i=r.spaceSeparated;t.exports=n({transform:s,properties:{ariaActiveDescendant:null,ariaAtomic:a,ariaAutoComplete:null,ariaBusy:a,ariaChecked:a,ariaColCount:o,ariaColIndex:o,ariaColSpan:o,ariaControls:i,ariaCurrent:null,ariaDescribedBy:i,ariaDetails:null,ariaDisabled:a,ariaDropEffect:i,ariaErrorMessage:null,ariaExpanded:a,ariaFlowTo:i,ariaGrabbed:a,ariaHasPopup:null,ariaHidden:a,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:i,ariaLevel:o,ariaLive:null,ariaModal:a,ariaMultiLine:a,ariaMultiSelectable:a,ariaOrientation:null,ariaOwns:i,ariaPlaceholder:null,ariaPosInSet:o,ariaPressed:a,ariaReadOnly:a,ariaRelevant:null,ariaRequired:a,ariaRoleDescription:i,ariaRowCount:o,ariaRowIndex:o,ariaRowSpan:o,ariaSelected:a,ariaSetSize:o,ariaSort:null,ariaValueMax:o,ariaValueMin:o,ariaValueNow:o,ariaValueText:null,role:null}});function s(c,d){return d==="role"?d:"aria-"+d.slice(4).toLowerCase()}u(s,"ariaTransform")}),CS=q((e,t)=>{var r=xp(),n=Qo(),a=Cy(),o=r.boolean,i=r.overloadedBoolean,s=r.booleanish,c=r.number,d=r.spaceSeparated,p=r.commaSeparated;t.exports=n({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:a,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:p,acceptCharset:d,accessKey:d,action:null,allow:null,allowFullScreen:o,allowPaymentRequest:o,allowUserMedia:o,alt:null,as:null,async:o,autoCapitalize:null,autoComplete:d,autoFocus:o,autoPlay:o,capture:o,charSet:null,checked:o,cite:null,className:d,cols:c,colSpan:null,content:null,contentEditable:s,controls:o,controlsList:d,coords:c|p,crossOrigin:null,data:null,dateTime:null,decoding:null,default:o,defer:o,dir:null,dirName:null,disabled:o,download:i,draggable:s,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:o,formTarget:null,headers:d,height:c,hidden:o,high:c,href:null,hrefLang:null,htmlFor:d,httpEquiv:d,id:null,imageSizes:null,imageSrcSet:p,inputMode:null,integrity:null,is:null,isMap:o,itemId:null,itemProp:d,itemRef:d,itemScope:o,itemType:d,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:o,low:c,manifest:null,max:null,maxLength:c,media:null,method:null,min:null,minLength:c,multiple:o,muted:o,name:null,nonce:null,noModule:o,noValidate:o,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:o,optimum:c,pattern:null,ping:d,placeholder:null,playsInline:o,poster:null,preload:null,readOnly:o,referrerPolicy:null,rel:d,required:o,reversed:o,rows:c,rowSpan:c,sandbox:d,scope:null,scoped:o,seamless:o,selected:o,shape:null,size:c,sizes:null,slot:null,span:c,spellCheck:s,src:null,srcDoc:null,srcLang:null,srcSet:p,start:c,step:null,style:null,tabIndex:c,target:null,title:null,translate:null,type:null,typeMustMatch:o,useMap:null,value:s,width:c,wrap:null,align:null,aLink:null,archive:d,axis:null,background:null,bgColor:null,border:c,borderColor:null,bottomMargin:c,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:o,declare:o,event:null,face:null,frame:null,frameBorder:null,hSpace:c,leftMargin:c,link:null,longDesc:null,lowSrc:null,marginHeight:c,marginWidth:c,noResize:o,noHref:o,noShade:o,noWrap:o,object:null,profile:null,prompt:null,rev:null,rightMargin:c,rules:null,scheme:null,scrolling:s,standby:null,summary:null,text:null,topMargin:c,valueType:null,version:null,vAlign:null,vLink:null,vSpace:c,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:o,disableRemotePlayback:o,prefix:null,property:null,results:c,security:null,unselectable:null}})}),SS=q((e,t)=>{var r=yS(),n=bS(),a=wS(),o=xS(),i=DS(),s=CS();t.exports=r([a,n,o,i,s])}),kS=q((e,t)=>{var r=Ep(),n=Dy(),a=xy(),o="data";t.exports=d;var i=/^data[-\w.:]+$/i,s=/-[a-z]/g,c=/[A-Z]/g;function d(v,g){var w=r(g),x=g,D=a;return w in v.normal?v.property[v.normal[w]]:(w.length>4&&w.slice(0,4)===o&&i.test(g)&&(g.charAt(4)==="-"?x=p(g):g=m(g),D=n),new D(x,g))}u(d,"find");function p(v){var g=v.slice(5).replace(s,f);return o+g.charAt(0).toUpperCase()+g.slice(1)}u(p,"datasetToProperty");function m(v){var g=v.slice(4);return s.test(g)?v:(g=g.replace(c,h),g.charAt(0)!=="-"&&(g="-"+g),o+g)}u(m,"datasetToAttribute");function h(v){return"-"+v.toLowerCase()}u(h,"kebab");function f(v){return v.charAt(1).toUpperCase()}u(f,"camelcase")}),AS=q((e,t)=>{t.exports=n;var r=/[#.]/g;function n(a,o){for(var i=a||"",s=o||"div",c={},d=0,p,m,h;d {e.parse=a,e.stringify=o;var t="",r=" ",n=/[ \t\n\r\f]+/g;function a(i){var s=String(i||t).trim();return s===t?[]:s.split(n)}u(a,"parse");function o(i){return i.join(r).trim()}u(o,"stringify")}),_S=q(e=>{e.parse=a,e.stringify=o;var t=",",r=" ",n="";function a(i){for(var s=[],c=String(i||n),d=c.indexOf(t),p=0,m=!1,h;!m;)d===-1&&(d=c.length,m=!0),h=c.slice(p,d).trim(),(h||!m)&&s.push(h),p=d+1,d=c.indexOf(t,p);return s}u(a,"parse");function o(i,s){var c=s||{},d=c.padLeft===!1?n:r,p=c.padRight?r:n;return i[i.length-1]===n&&(i=i.concat(n)),i.join(p+t+d).trim()}u(o,"stringify")}),RS=q((e,t)=>{var r=kS(),n=Ep(),a=AS(),o=FS().parse,i=_S().parse;t.exports=c;var s={}.hasOwnProperty;function c(w,x,D){var E=D?g(D):null;return b;function b(S,k){var A=a(S,x),_=Array.prototype.slice.call(arguments,2),I=A.tagName.toLowerCase(),B;if(A.tagName=E&&s.call(E,I)?E[I]:I,k&&d(k,A)&&(_.unshift(k),k=null),k)for(B in k)C(A.properties,B,k[B]);return m(A.children,_),A.tagName==="template"&&(A.content={type:"root",children:A.children},A.children=[]),A}function C(S,k,A){var _,I,B;A==null||A!==A||(_=r(w,k),I=_.property,B=A,typeof B=="string"&&(_.spaceSeparated?B=o(B):_.commaSeparated?B=i(B):_.commaOrSpaceSeparated&&(B=o(i(B).join(" ")))),I==="style"&&typeof A!="string"&&(B=v(B)),I==="className"&&S.className&&(B=S.className.concat(B)),S[I]=h(_,I,B))}}u(c,"factory");function d(w,x){return typeof w=="string"||"length"in w||p(x.tagName,w)}u(d,"isChildren");function p(w,x){var D=x.type;return w==="input"||!D||typeof D!="string"?!1:typeof x.children=="object"&&"length"in x.children?!0:(D=D.toLowerCase(),w==="button"?D!=="menu"&&D!=="submit"&&D!=="reset"&&D!=="button":"value"in x)}u(p,"isNode");function m(w,x){var D,E;if(typeof x=="string"||typeof x=="number"){w.push({type:"text",value:String(x)});return}if(typeof x=="object"&&"length"in x){for(D=-1,E=x.length;++D {var r=SS(),n=RS(),a=n(r,"div");a.displayName="html",t.exports=a}),BS=q((e,t)=>{t.exports=IS()}),TS=q((e,t)=>{t.exports={AElig:"Æ",AMP:"&",Aacute:"Á",Acirc:"Â",Agrave:"À",Aring:"Å",Atilde:"Ã",Auml:"Ä",COPY:"©",Ccedil:"Ç",ETH:"Ð",Eacute:"É",Ecirc:"Ê",Egrave:"È",Euml:"Ë",GT:">",Iacute:"Í",Icirc:"Î",Igrave:"Ì",Iuml:"Ï",LT:"<",Ntilde:"Ñ",Oacute:"Ó",Ocirc:"Ô",Ograve:"Ò",Oslash:"Ø",Otilde:"Õ",Ouml:"Ö",QUOT:'"',REG:"®",THORN:"Þ",Uacute:"Ú",Ucirc:"Û",Ugrave:"Ù",Uuml:"Ü",Yacute:"Ý",aacute:"á",acirc:"â",acute:"´",aelig:"æ",agrave:"à",amp:"&",aring:"å",atilde:"ã",auml:"ä",brvbar:"¦",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",ecirc:"ê",egrave:"è",eth:"ð",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",iacute:"í",icirc:"î",iexcl:"¡",igrave:"ì",iquest:"¿",iuml:"ï",laquo:"«",lt:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",oacute:"ó",ocirc:"ô",ograve:"ò",ordf:"ª",ordm:"º",oslash:"ø",otilde:"õ",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',raquo:"»",reg:"®",sect:"§",shy:"",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",times:"×",uacute:"ú",ucirc:"û",ugrave:"ù",uml:"¨",uuml:"ü",yacute:"ý",yen:"¥",yuml:"ÿ"}}),zS=q((e,t)=>{t.exports={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"}}),Sy=q((e,t)=>{t.exports=r;function r(n){var a=typeof n=="string"?n.charCodeAt(0):n;return a>=48&&a<=57}u(r,"decimal")}),LS=q((e,t)=>{t.exports=r;function r(n){var a=typeof n=="string"?n.charCodeAt(0):n;return a>=97&&a<=102||a>=65&&a<=70||a>=48&&a<=57}u(r,"hexadecimal")}),OS=q((e,t)=>{t.exports=r;function r(n){var a=typeof n=="string"?n.charCodeAt(0):n;return a>=97&&a<=122||a>=65&&a<=90}u(r,"alphabetical")}),MS=q((e,t)=>{var r=OS(),n=Sy();t.exports=a;function a(o){return r(o)||n(o)}u(a,"alphanumerical")}),PS=q((e,t)=>{var r,n=59;t.exports=a;function a(o){var i="&"+o+";",s;return r=r||document.createElement("i"),r.innerHTML=i,s=r.textContent,s.charCodeAt(s.length-1)===n&&o!=="semi"||s===i?!1:s}u(a,"decodeEntity")}),$S=q((e,t)=>{var r=TS(),n=zS(),a=Sy(),o=LS(),i=MS(),s=PS();t.exports=Q;var c={}.hasOwnProperty,d=String.fromCharCode,p=Function.prototype,m={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},h=9,f=10,v=12,g=32,w=38,x=59,D=60,E=61,b=35,C=88,S=120,k=65533,A="named",_="hexadecimal",I="decimal",B={};B[_]=16,B[I]=10;var z={};z[A]=i,z[I]=a,z[_]=o;var L=1,M=2,O=3,P=4,H=5,U=6,V=7,G={};G[L]="Named character references must be terminated by a semicolon",G[M]="Numeric character references must be terminated by a semicolon",G[O]="Named character references cannot be empty",G[P]="Numeric character references cannot be empty",G[H]="Named character references must be known",G[U]="Numeric character references cannot be disallowed",G[V]="Numeric character references cannot be outside the permissible Unicode range";function Q(N,K){var re={},fe,Ce;K||(K={});for(Ce in m)fe=K[Ce],re[Ce]=fe??m[Ce];return(re.position.indent||re.position.start)&&(re.indent=re.position.indent||[],re.position=re.position.start),ne(N,re)}u(Q,"parseEntities");function ne(N,K){var re=K.additional,fe=K.nonTerminated,Ce=K.text,xt=K.reference,He=K.warning,tt=K.textContext,$=K.referenceContext,rt=K.warningContext,Dt=K.position,Mr=K.indent||[],An=N.length,Ct=0,bi=-1,Re=Dt.column||1,Pr=Dt.line||1,St="",Fn=[],kt,_n,At,Se,nt,ye,ce,Ft,wi,bu,$r,Pa,Nr,Kt,ch,$a,Ei,_t,be;for(typeof re=="string"&&(re=re.charCodeAt(0)),$a=Na(),Ft=He?$x:p,Ct--,An++;++Ct 65535&&(ye-=65536,bu+=d(ye>>>10|55296),ye=56320|ye&1023),ye=bu+d(ye))):Kt!==A&&Ft(P,_t)),ye?(dh(),$a=Na(),Ct=be-1,Re+=be-Nr+1,Fn.push(ye),Ei=Na(),Ei.offset++,xt&&xt.call($,ye,{start:$a,end:Ei},N.slice(Nr-1,be)),$a=Ei):(Se=N.slice(Nr-1,be),St+=Se,Re+=Se.length,Ct=be-1)}else nt===10&&(Pr++,bi++,Re=0),nt===nt?(St+=d(nt),Re++):dh();return Fn.join("");function Na(){return{line:Pr,column:Re,offset:Ct+(Dt.offset||0)}}function $x(ph,fh){var wu=Na();wu.column+=fh,wu.offset+=fh,He.call(rt,G[ph],wu,ph)}function dh(){St&&(Fn.push(St),Ce&&Ce.call(tt,St,{start:$a,end:Na()}),St="")}}u(ne,"parse");function Z(N){return N>=55296&&N<=57343||N>1114111}u(Z,"prohibited");function ie(N){return N>=1&&N<=8||N===11||N>=13&&N<=31||N>=127&&N<=159||N>=64976&&N<=65007||(N&65535)===65535||(N&65535)===65534}u(ie,"disallowed")}),NS=q((e,t)=>{var r=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{},n=function(a){var o=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,i=0,s={},c={manual:a.Prism&&a.Prism.manual,disableWorkerMessageHandler:a.Prism&&a.Prism.disableWorkerMessageHandler,util:{encode:u(function E(b){return b instanceof d?new d(b.type,E(b.content),b.alias):Array.isArray(b)?b.map(E):b.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(S){var E=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(S.stack)||[])[1];if(E){var b=document.getElementsByTagName("script");for(var C in b)if(b[C].src==E)return b[C]}return null}},"currentScript"),isActive:u(function(E,b,C){for(var S="no-"+b;E;){var k=E.classList;if(k.contains(b))return!0;if(k.contains(S))return!1;E=E.parentElement}return!!C},"isActive")},languages:{plain:s,plaintext:s,text:s,txt:s,extend:u(function(E,b){var C=c.util.clone(c.languages[E]);for(var S in b)C[S]=b[S];return C},"extend"),insertBefore:u(function(E,b,C,S){S=S||c.languages;var k=S[E],A={};for(var _ in k)if(k.hasOwnProperty(_)){if(_==b)for(var I in C)C.hasOwnProperty(I)&&(A[I]=C[I]);C.hasOwnProperty(_)||(A[_]=k[_])}var B=S[E];return S[E]=A,c.languages.DFS(c.languages,function(z,L){L===B&&z!=E&&(this[z]=A)}),A},"insertBefore"),DFS:u(function E(b,C,S,k){k=k||{};var A=c.util.objId;for(var _ in b)if(b.hasOwnProperty(_)){C.call(b,_,b[_],S||_);var I=b[_],B=c.util.type(I);B==="Object"&&!k[A(I)]?(k[A(I)]=!0,E(I,C,null,k)):B==="Array"&&!k[A(I)]&&(k[A(I)]=!0,E(I,C,_,k))}},"DFS")},plugins:{},highlightAll:u(function(E,b){c.highlightAllUnder(document,E,b)},"highlightAll"),highlightAllUnder:u(function(E,b,C){var S={callback:C,container:E,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};c.hooks.run("before-highlightall",S),S.elements=Array.prototype.slice.apply(S.container.querySelectorAll(S.selector)),c.hooks.run("before-all-elements-highlight",S);for(var k=0,A;A=S.elements[k++];)c.highlightElement(A,b===!0,S.callback)},"highlightAllUnder"),highlightElement:u(function(E,b,C){var S=c.util.getLanguage(E),k=c.languages[S];c.util.setLanguage(E,S);var A=E.parentElement;A&&A.nodeName.toLowerCase()==="pre"&&c.util.setLanguage(A,S);var _=E.textContent,I={element:E,language:S,grammar:k,code:_};function B(L){I.highlightedCode=L,c.hooks.run("before-insert",I),I.element.innerHTML=I.highlightedCode,c.hooks.run("after-highlight",I),c.hooks.run("complete",I),C&&C.call(I.element)}if(u(B,"insertHighlightedCode"),c.hooks.run("before-sanity-check",I),A=I.element.parentElement,A&&A.nodeName.toLowerCase()==="pre"&&!A.hasAttribute("tabindex")&&A.setAttribute("tabindex","0"),!I.code){c.hooks.run("complete",I),C&&C.call(I.element);return}if(c.hooks.run("before-highlight",I),!I.grammar){B(c.util.encode(I.code));return}if(b&&a.Worker){var z=new Worker(c.filename);z.onmessage=function(L){B(L.data)},z.postMessage(JSON.stringify({language:I.language,code:I.code,immediateClose:!0}))}else B(c.highlight(I.code,I.grammar,I.language))},"highlightElement"),highlight:u(function(E,b,C){var S={code:E,grammar:b,language:C};if(c.hooks.run("before-tokenize",S),!S.grammar)throw new Error('The language "'+S.language+'" has no grammar.');return S.tokens=c.tokenize(S.code,S.grammar),c.hooks.run("after-tokenize",S),d.stringify(c.util.encode(S.tokens),S.language)},"highlight"),tokenize:u(function(E,b){var C=b.rest;if(C){for(var S in C)b[S]=C[S];delete b.rest}var k=new h;return f(k,k.head,E),m(E,k,b,k.head,0),g(k)},"tokenize"),hooks:{all:{},add:u(function(E,b){var C=c.hooks.all;C[E]=C[E]||[],C[E].push(b)},"add"),run:u(function(E,b){var C=c.hooks.all[E];if(!(!C||!C.length))for(var S=0,k;k=C[S++];)k(b)},"run")},Token:d};a.Prism=c;function d(E,b,C,S){this.type=E,this.content=b,this.alias=C,this.length=(S||"").length|0}u(d,"Token"),d.stringify=u(function E(b,C){if(typeof b=="string")return b;if(Array.isArray(b)){var S="";return b.forEach(function(B){S+=E(B,C)}),S}var k={type:b.type,content:E(b.content,C),tag:"span",classes:["token",b.type],attributes:{},language:C},A=b.alias;A&&(Array.isArray(A)?Array.prototype.push.apply(k.classes,A):k.classes.push(A)),c.hooks.run("wrap",k);var _="";for(var I in k.attributes)_+=" "+I+'="'+(k.attributes[I]||"").replace(/"/g,""")+'"';return"<"+k.tag+' class="'+k.classes.join(" ")+'"'+_+">"+k.content+""+k.tag+">"},"stringify");function p(E,b,C,S){E.lastIndex=b;var k=E.exec(C);if(k&&S&&k[1]){var A=k[1].length;k.index+=A,k[0]=k[0].slice(A)}return k}u(p,"matchPattern");function m(E,b,C,S,k,A){for(var _ in C)if(!(!C.hasOwnProperty(_)||!C[_])){var I=C[_];I=Array.isArray(I)?I:[I];for(var B=0;B =A.reach);G+=V.value.length,V=V.next){var Q=V.value;if(b.length>E.length)return;if(!(Q instanceof d)){var ne=1,Z;if(O){if(Z=p(U,G,E,M),!Z||Z.index>=E.length)break;var re=Z.index,ie=Z.index+Z[0].length,N=G;for(N+=V.value.length;re>=N;)V=V.next,N+=V.value.length;if(N-=V.value.length,G=N,V.value instanceof d)continue;for(var K=V;K!==b.tail&&(N A.reach&&(A.reach=He);var tt=V.prev;Ce&&(tt=f(b,tt,Ce),G+=Ce.length),v(b,tt,ne);var $=new d(_,L?c.tokenize(fe,L):fe,P,fe);if(V=f(b,tt,$),xt&&f(b,V,xt),ne>1){var rt={cause:_+","+B,reach:He};m(E,b,C,V.prev,G,rt),A&&rt.reach>A.reach&&(A.reach=rt.reach)}}}}}}u(m,"matchGrammar");function h(){var E={value:null,prev:null,next:null},b={value:null,prev:E,next:null};E.next=b,this.head=E,this.tail=b,this.length=0}u(h,"LinkedList");function f(E,b,C){var S=b.next,k={value:C,prev:b,next:S};return b.next=k,S.prev=k,E.length++,k}u(f,"addAfter");function v(E,b,C){for(var S=b.next,k=0;k {t.exports=r,r.displayName="markup",r.aliases=["html","mathml","svg","xml","ssml","atom","rss"];function r(n){n.languages.markup={comment:{pattern://,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"},/?[\da-f]{1,8};/i]},n.languages.markup.tag.inside["attr-value"].inside.entity=n.languages.markup.entity,n.languages.markup.doctype.inside["internal-subset"].inside=n.languages.markup,n.hooks.add("wrap",function(a){a.type==="entity"&&(a.attributes.title=a.content.value.replace(/&/,"&"))}),Object.defineProperty(n.languages.markup.tag,"addInlined",{value:u(function(a,o){var i={};i["language-"+o]={pattern:/(^$)/i,lookbehind:!0,inside:n.languages[o]},i.cdata=/^$/i;var s={"included-cdata":{pattern://i,inside:i}};s["language-"+o]={pattern:/[\s\S]+/,inside:n.languages[o]};var c={};c[a]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return a}),"i"),lookbehind:!0,greedy:!0,inside:s},n.languages.insertBefore("markup","cdata",c)},"addInlined")}),Object.defineProperty(n.languages.markup.tag,"addAttribute",{value:u(function(a,o){n.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+a+")"+/\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:[o,"language-"+o],inside:n.languages[o]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})},"value")}),n.languages.html=n.languages.markup,n.languages.mathml=n.languages.markup,n.languages.svg=n.languages.markup,n.languages.xml=n.languages.extend("markup",{}),n.languages.ssml=n.languages.xml,n.languages.atom=n.languages.xml,n.languages.rss=n.languages.xml}u(r,"markup")}),Ay=q((e,t)=>{t.exports=r,r.displayName="css",r.aliases=[];function r(n){(function(a){var o=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;a.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\\((?:"+o.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+o.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+o.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:o,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:/[(){};:,]/},a.languages.css.atrule.inside.rest=a.languages.css;var i=a.languages.markup;i&&(i.tag.addInlined("style","css"),i.tag.addAttribute("style","css"))})(n)}u(r,"css")}),HS=q((e,t)=>{t.exports=r,r.displayName="clike",r.aliases=[];function r(n){n.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:/[{}[\];(),.:]/}}u(r,"clike")}),jS=q((e,t)=>{t.exports=r,r.displayName="javascript",r.aliases=["js"];function r(n){n.languages.javascript=n.languages.extend("clike",{"class-name":[n.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}|\?\?=?|\?\.?|[~:]/}),n.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,n.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:n.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:n.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:n.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:n.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:n.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),n.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:n.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"}}),n.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),n.languages.markup&&(n.languages.markup.tag.addInlined("script","javascript"),n.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")),n.languages.js=n.languages.javascript}u(r,"javascript")}),VS=q((e,t)=>{var r=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof global=="object"?global:{},n=k();r.Prism={manual:!0,disableWorkerMessageHandler:!0};var a=BS(),o=$S(),i=NS(),s=ky(),c=Ay(),d=HS(),p=jS();n();var m={}.hasOwnProperty;function h(){}u(h,"Refractor"),h.prototype=i;var f=new h;t.exports=f,f.highlight=w,f.register=v,f.alias=g,f.registered=x,f.listLanguages=D,v(s),v(c),v(d),v(p),f.util.encode=C,f.Token.stringify=E;function v(A){if(typeof A!="function"||!A.displayName)throw new Error("Expected `function` for `grammar`, got `"+A+"`");f.languages[A.displayName]===void 0&&A(f)}u(v,"register");function g(A,_){var I=f.languages,B=A,z,L,M,O;_&&(B={},B[A]=_);for(z in B)for(L=B[z],L=typeof L=="string"?[L]:L,M=L.length,O=-1;++O {gS(),Si=De(VS()),ki=yy(Si.default,{}),ki.registerLanguage=function(e,t){return Si.default.register(t)},ki.alias=function(e,t){return Si.default.alias(e,t)},nl=ki}),qS=T(()=>{uy()}),WS=q((e,t)=>{t.exports=r,r.displayName="bash",r.aliases=["shell"];function r(n){(function(a){var o="\\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},s={bash:i,environment:{pattern:RegExp("\\$"+o),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("(\\{)"+o),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})/};a.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;|&]|[<>]\\()"+o),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:s},{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:s},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:s.entity}}],environment:{pattern:RegExp("\\$?"+o),alias:"constant"},variable:s.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=a.languages.bash;for(var c=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],d=s.variable[1].inside,p=0;p {Oh=De(WS()),Fy=Oh.default}),Mh,_y,YS=T(()=>{Mh=De(Ay()),_y=Mh.default}),KS=q((e,t)=>{t.exports=r,r.displayName="graphql",r.aliases=[];function r(n){n.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:n.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+/},n.hooks.add("after-tokenize",u(function(a){if(a.language!=="graphql")return;var o=a.tokens.filter(function(D){return typeof D!="string"&&D.type!=="comment"&&D.type!=="scalar"}),i=0;function s(D){return o[i+D]}u(s,"getToken");function c(D,E){E=E||0;for(var b=0;b 0)){var g=d(/^\{$/,/^\}$/);if(g===-1)continue;for(var w=i;w =0&&p(x,"variable-input")}}}}},"afterTokenizeGraphql"))}u(r,"graphql")}),Ph,Ry,ZS=T(()=>{Ph=De(KS()),Ry=Ph.default}),JS=q((e,t)=>{t.exports=r,r.displayName="jsExtras",r.aliases=[];function r(n){(function(a){a.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+a.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),a.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+a.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),a.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 o(m,h){return RegExp(m.replace(/ "u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(S){var E=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(S.stack)||[])[1];if(E){var b=document.getElementsByTagName("script");for(var C in b)if(b[C].src==E)return b[C]}return null}},"currentScript"),isActive:u(function(E,b,C){for(var S="no-"+b;E;){var k=E.classList;if(k.contains(b))return!0;if(k.contains(S))return!1;E=E.parentElement}return!!C},"isActive")},languages:{plain:s,plaintext:s,text:s,txt:s,extend:u(function(E,b){var C=c.util.clone(c.languages[E]);for(var S in b)C[S]=b[S];return C},"extend"),insertBefore:u(function(E,b,C,S){S=S||c.languages;var k=S[E],A={};for(var _ in k)if(k.hasOwnProperty(_)){if(_==b)for(var I in C)C.hasOwnProperty(I)&&(A[I]=C[I]);C.hasOwnProperty(_)||(A[_]=k[_])}var B=S[E];return S[E]=A,c.languages.DFS(c.languages,function(z,L){L===B&&z!=E&&(this[z]=A)}),A},"insertBefore"),DFS:u(function E(b,C,S,k){k=k||{};var A=c.util.objId;for(var _ in b)if(b.hasOwnProperty(_)){C.call(b,_,b[_],S||_);var I=b[_],B=c.util.type(I);B==="Object"&&!k[A(I)]?(k[A(I)]=!0,E(I,C,null,k)):B==="Array"&&!k[A(I)]&&(k[A(I)]=!0,E(I,C,_,k))}},"DFS")},plugins:{},highlightAll:u(function(E,b){c.highlightAllUnder(document,E,b)},"highlightAll"),highlightAllUnder:u(function(E,b,C){var S={callback:C,container:E,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};c.hooks.run("before-highlightall",S),S.elements=Array.prototype.slice.apply(S.container.querySelectorAll(S.selector)),c.hooks.run("before-all-elements-highlight",S);for(var k=0,A;A=S.elements[k++];)c.highlightElement(A,b===!0,S.callback)},"highlightAllUnder"),highlightElement:u(function(E,b,C){var S=c.util.getLanguage(E),k=c.languages[S];c.util.setLanguage(E,S);var A=E.parentElement;A&&A.nodeName.toLowerCase()==="pre"&&c.util.setLanguage(A,S);var _=E.textContent,I={element:E,language:S,grammar:k,code:_};function B(L){I.highlightedCode=L,c.hooks.run("before-insert",I),I.element.innerHTML=I.highlightedCode,c.hooks.run("after-highlight",I),c.hooks.run("complete",I),C&&C.call(I.element)}if(u(B,"insertHighlightedCode"),c.hooks.run("before-sanity-check",I),A=I.element.parentElement,A&&A.nodeName.toLowerCase()==="pre"&&!A.hasAttribute("tabindex")&&A.setAttribute("tabindex","0"),!I.code){c.hooks.run("complete",I),C&&C.call(I.element);return}if(c.hooks.run("before-highlight",I),!I.grammar){B(c.util.encode(I.code));return}if(b&&a.Worker){var z=new Worker(c.filename);z.onmessage=function(L){B(L.data)},z.postMessage(JSON.stringify({language:I.language,code:I.code,immediateClose:!0}))}else B(c.highlight(I.code,I.grammar,I.language))},"highlightElement"),highlight:u(function(E,b,C){var S={code:E,grammar:b,language:C};if(c.hooks.run("before-tokenize",S),!S.grammar)throw new Error('The language "'+S.language+'" has no grammar.');return S.tokens=c.tokenize(S.code,S.grammar),c.hooks.run("after-tokenize",S),d.stringify(c.util.encode(S.tokens),S.language)},"highlight"),tokenize:u(function(E,b){var C=b.rest;if(C){for(var S in C)b[S]=C[S];delete b.rest}var k=new h;return f(k,k.head,E),m(E,k,b,k.head,0),g(k)},"tokenize"),hooks:{all:{},add:u(function(E,b){var C=c.hooks.all;C[E]=C[E]||[],C[E].push(b)},"add"),run:u(function(E,b){var C=c.hooks.all[E];if(!(!C||!C.length))for(var S=0,k;k=C[S++];)k(b)},"run")},Token:d};a.Prism=c;function d(E,b,C,S){this.type=E,this.content=b,this.alias=C,this.length=(S||"").length|0}u(d,"Token"),d.stringify=u(function E(b,C){if(typeof b=="string")return b;if(Array.isArray(b)){var S="";return b.forEach(function(B){S+=E(B,C)}),S}var k={type:b.type,content:E(b.content,C),tag:"span",classes:["token",b.type],attributes:{},language:C},A=b.alias;A&&(Array.isArray(A)?Array.prototype.push.apply(k.classes,A):k.classes.push(A)),c.hooks.run("wrap",k);var _="";for(var I in k.attributes)_+=" "+I+'="'+(k.attributes[I]||"").replace(/"/g,""")+'"';return"<"+k.tag+' class="'+k.classes.join(" ")+'"'+_+">"+k.content+""+k.tag+">"},"stringify");function p(E,b,C,S){E.lastIndex=b;var k=E.exec(C);if(k&&S&&k[1]){var A=k[1].length;k.index+=A,k[0]=k[0].slice(A)}return k}u(p,"matchPattern");function m(E,b,C,S,k,A){for(var _ in C)if(!(!C.hasOwnProperty(_)||!C[_])){var I=C[_];I=Array.isArray(I)?I:[I];for(var B=0;B/g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),h)}u(o,"withId"),a.languages.insertBefore("javascript","keyword",{imports:{pattern:o(/(\bimport\b\s*)(?: (?:\s*,\s*(?:\*\s*as\s+ |\{[^{}]*\}))?|\*\s*as\s+ |\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:a.languages.javascript},exports:{pattern:o(/(\bexport\b\s*)(?:\*(?:\s*as\s+ )?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:a.languages.javascript}}),a.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"}),a.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),a.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:o(/(\.\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"],s=0;s {$h=De(JS()),Iy=$h.default}),QS=q((e,t)=>{t.exports=r,r.displayName="json",r.aliases=["webmanifest"];function r(n){n.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"}},n.languages.webmanifest=n.languages.json}u(r,"json")}),Nh,By,ek=T(()=>{Nh=De(QS()),By=Nh.default}),Ty=q((e,t)=>{t.exports=r,r.displayName="jsx",r.aliases=[];function r(n){(function(a){var o=a.util.clone(a.languages.javascript),i=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,s=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,c=/(?:\{ *\.{3}(?:[^{}]|)*\})/.source;function d(h,f){return h=h.replace(/ /g,function(){return i}).replace(//g,function(){return s}).replace(/ /g,function(){return c}),RegExp(h,f)}u(d,"re"),c=d(c).source,a.languages.jsx=a.languages.extend("markup",o),a.languages.jsx.tag.pattern=d(/<\/?(?:[\w.:-]+(?: +(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?| ))* *\/?)?>/.source),a.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,a.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,a.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,a.languages.jsx.tag.inside.comment=o.comment,a.languages.insertBefore("inside","attr-name",{spread:{pattern:d(//.source),inside:a.languages.jsx}},a.languages.jsx.tag),a.languages.insertBefore("inside","special-attr",{script:{pattern:d(/= /.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:a.languages.jsx}}},a.languages.jsx.tag);var p=u(function(h){return h?typeof h=="string"?h:typeof h.content=="string"?h.content:h.content.map(p).join(""):""},"stringifyToken"),m=u(function(h){for(var f=[],v=0;v 0&&f[f.length-1].tagName===p(g.content[0].content[1])&&f.pop():g.content[g.content.length-1].content==="/>"||f.push({tagName:p(g.content[0].content[1]),openedBraces:0}):f.length>0&&g.type==="punctuation"&&g.content==="{"?f[f.length-1].openedBraces++:f.length>0&&f[f.length-1].openedBraces>0&&g.type==="punctuation"&&g.content==="}"?f[f.length-1].openedBraces--:w=!0),(w||typeof g=="string")&&f.length>0&&f[f.length-1].openedBraces===0){var x=p(g);v 0&&(typeof h[v-1]=="string"||h[v-1].type==="plain-text")&&(x=p(h[v-1])+x,h.splice(v-1,1),v--),h[v]=new a.Token("plain-text",x,null,x)}g.content&&typeof g.content!="string"&&m(g.content)}},"walkTokens");a.hooks.add("after-tokenize",function(h){h.language!=="jsx"&&h.language!=="tsx"||m(h.tokens)})})(n)}u(r,"jsx")}),Hh,zy,tk=T(()=>{Hh=De(Ty()),zy=Hh.default}),rk=q((e,t)=>{t.exports=r,r.displayName="markdown",r.aliases=["md"];function r(n){(function(a){var o=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function i(v){return v=v.replace(/ /g,function(){return o}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+v+")")}u(i,"createInline");var s=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,c=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return s}),d=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;a.languages.markdown=a.languages.extend("markup",{}),a.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:a.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+c+d+"(?:"+c+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+c+d+")(?:"+c+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(s),inside:a.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+c+")"+d+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+c+"$"),inside:{"table-header":{pattern:RegExp(s),alias:"important",inside:a.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(v){["url","bold","italic","strike","code-snippet"].forEach(function(g){v!==g&&(a.languages.markdown[v].inside.content.inside[g]=a.languages.markdown[g])})}),a.hooks.add("after-tokenize",function(v){if(v.language!=="markdown"&&v.language!=="md")return;function g(w){if(!(!w||typeof w=="string"))for(var x=0,D=w.length;x ",quot:'"'},h=String.fromCodePoint||String.fromCharCode;function f(v){var g=v.replace(p,"");return g=g.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(w,x){if(x=x.toLowerCase(),x[0]==="#"){var D;return x[1]==="x"?D=parseInt(x.slice(2),16):D=Number(x.slice(1)),h(D)}else{var E=m[x];return E||w}}),g}u(f,"textContent"),a.languages.md=a.languages.markdown})(n)}u(r,"markdown")}),jh,Ly,nk=T(()=>{jh=De(rk()),Ly=jh.default}),Vh,Oy,ak=T(()=>{Vh=De(ky()),Oy=Vh.default}),My=q((e,t)=>{t.exports=r,r.displayName="typescript",r.aliases=["ts"];function r(n){(function(a){a.languages.typescript=a.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),a.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 a.languages.typescript.parameter,delete a.languages.typescript["literal-property"];var o=a.languages.extend("typescript",{});delete o["class-name"],a.languages.typescript["class-name"].inside=o,a.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:o}}}}),a.languages.ts=a.languages.typescript})(n)}u(r,"typescript")}),ok=q((e,t)=>{var r=Ty(),n=My();t.exports=a,a.displayName="tsx",a.aliases=[];function a(o){o.register(r),o.register(n),function(i){var s=i.util.clone(i.languages.typescript);i.languages.tsx=i.languages.extend("jsx",s),delete i.languages.tsx.parameter,delete i.languages.tsx["literal-property"];var c=i.languages.tsx.tag;c.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+c.pattern.source+")",c.pattern.flags),c.lookbehind=!0}(o)}u(a,"tsx")}),Uh,Py,ik=T(()=>{Uh=De(ok()),Py=Uh.default}),qh,$y,lk=T(()=>{qh=De(My()),$y=qh.default}),sk=q((e,t)=>{t.exports=r,r.displayName="yaml",r.aliases=["yml"];function r(n){(function(a){var o=/[*&][^\s[\]{},]+/,i=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,s="(?:"+i.source+"(?:[ ]+"+o.source+")?|"+o.source+"(?:[ ]+"+i.source+")?)",c=/(?:[^\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}),d=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function p(m,h){h=(h||"").replace(/m/g,"")+"m";var f=/([:\-,[{]\s*(?:\s< >[ \t]+)?)(?:< >)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/< >/g,function(){return s}).replace(/< >/g,function(){return m});return RegExp(f,h)}u(p,"createValuePattern"),a.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s< >[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/< >/g,function(){return s})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:< >[ \t]+)?)< >(?=\s*:\s)/.source.replace(/< >/g,function(){return s}).replace(/< >/g,function(){return"(?:"+c+"|"+d+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:p(/\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:p(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:p(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:p(d),lookbehind:!0,greedy:!0},number:{pattern:p(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:i,important:o,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},a.languages.yml=a.languages.yaml})(n)}u(r,"yaml")}),Wh,Ny,uk=T(()=>{Wh=De(sk()),Ny=Wh.default}),Gh,Ru,Dp,Hy=T(()=>{Gh=F.div(({theme:e})=>({position:"absolute",bottom:0,right:0,maxWidth:"100%",display:"flex",background:e.background.content,zIndex:1})),Ru=F.button(({theme:e})=>({margin:0,border:"0 none",padding:"4px 10px",cursor:"pointer",display:"flex",alignItems:"center",color:e.color.defaultText,background:e.background.content,fontSize:12,lineHeight:"16px",fontFamily:e.typography.fonts.base,fontWeight:e.typography.weight.bold,borderTop:`1px solid ${e.appBorderColor}`,borderLeft:`1px solid ${e.appBorderColor}`,marginLeft:-1,borderRadius:"4px 0 0 0","&:not(:last-child)":{borderRight:`1px solid ${e.appBorderColor}`},"& + *":{borderLeft:`1px solid ${e.appBorderColor}`,borderRadius:0},"&:focus":{boxShadow:`${e.color.secondary} 0 -3px 0 0 inset`,outline:"0 none"}}),({disabled:e})=>e&&{cursor:"not-allowed",opacity:.5}),Ru.displayName="ActionButton",Dp=u(({actionItems:e,...t})=>y.createElement(Gh,{...t},e.map(({title:r,className:n,onClick:a,disabled:o},i)=>y.createElement(Ru,{key:i,className:n,onClick:a,disabled:!!o},r))),"ActionBar")});function jy(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Vy(...e){return t=>e.forEach(r=>jy(r,t))}var ck=T(()=>{u(jy,"setRef"),u(Vy,"composeRefs")});function Yh(e){return l.isValidElement(e)&&e.type===Uy}function Kh(e,t){let r={...t};for(let n in t){let a=e[n],o=t[n];/^on[A-Z]/.test(n)?a&&o?r[n]=(...i)=>{o(...i),a(...i)}:a&&(r[n]=a):n==="style"?r[n]={...a,...o}:n==="className"&&(r[n]=[a,o].filter(Boolean).join(" "))}return{...e,...r}}function Zh(e){var n,a;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(a=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:a.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var Bl,Ai,Uy,qy=T(()=>{ck(),Bl=l.forwardRef((e,t)=>{let{children:r,...n}=e,a=l.Children.toArray(r),o=a.find(Yh);if(o){let i=o.props.children,s=a.map(c=>c===o?l.Children.count(i)>1?l.Children.only(null):l.isValidElement(i)?i.props.children:null:c);return J.jsx(Ai,{...n,ref:t,children:l.isValidElement(i)?l.cloneElement(i,void 0,s):null})}return J.jsx(Ai,{...n,ref:t,children:r})}),Bl.displayName="Slot",Ai=l.forwardRef((e,t)=>{let{children:r,...n}=e;if(l.isValidElement(r)){let a=Zh(r);return l.cloneElement(r,{...Kh(n,r.props),ref:t?Vy(t,a):a})}return l.Children.count(r)>1?l.Children.only(null):null}),Ai.displayName="SlotClone",Uy=u(({children:e})=>J.jsx(J.Fragment,{children:e}),"Slottable"),u(Yh,"isSlottable"),u(Kh,"mergeProps"),u(Zh,"getElementRef")}),Jh,Nn,dk=T(()=>{qy(),Jh=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Nn=Jh.reduce((e,t)=>{let r=l.forwardRef((n,a)=>{let{asChild:o,...i}=n,s=o?Bl:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),J.jsx(s,{...i,ref:a})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{})});function Wy(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Gy(...e){return t=>e.forEach(r=>Wy(r,t))}function yr(...e){return l.useCallback(Gy(...e),e)}var Yy=T(()=>{u(Wy,"setRef"),u(Gy,"composeRefs"),u(yr,"useComposedRefs")}),Tl,Ky=T(()=>{Tl=globalThis!=null&&globalThis.document?l.useLayoutEffect:()=>{}});function Zy(e,t){return l.useReducer((r,n)=>t[r][n]??r,e)}function Xh(e){let[t,r]=l.useState(),n=l.useRef({}),a=l.useRef(e),o=l.useRef("none"),i=e?"mounted":"unmounted",[s,c]=Zy(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return l.useEffect(()=>{let d=io(n.current);o.current=s==="mounted"?d:"none"},[s]),Tl(()=>{let d=n.current,p=a.current;if(p!==e){let m=o.current,h=io(d);e?c("MOUNT"):h==="none"||(d==null?void 0:d.display)==="none"?c("UNMOUNT"):c(p&&m!==h?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,c]),Tl(()=>{if(t){let d=u(m=>{let h=io(n.current).includes(m.animationName);m.target===t&&h&&fs.flushSync(()=>c("ANIMATION_END"))},"handleAnimationEnd"),p=u(m=>{m.target===t&&(o.current=io(n.current))},"handleAnimationStart");return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:l.useCallback(d=>{d&&(n.current=getComputedStyle(d)),r(d)},[])}}function io(e){return(e==null?void 0:e.animationName)||"none"}function Qh(e){var n,a;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(a=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:a.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var Gn,pk=T(()=>{"use client";Yy(),Ky(),u(Zy,"useStateMachine"),Gn=u(e=>{let{present:t,children:r}=e,n=Xh(t),a=typeof r=="function"?r({present:n.isPresent}):l.Children.only(r),o=yr(n.ref,Qh(a));return typeof r=="function"||n.isPresent?l.cloneElement(a,{ref:o}):null},"Presence"),Gn.displayName="Presence",u(Xh,"usePresence"),u(io,"getAnimationName"),u(Qh,"getElementRef")});function Jy(e,t=[]){let r=[];function n(o,i){let s=l.createContext(i),c=r.length;r=[...r,i];function d(m){let{scope:h,children:f,...v}=m,g=(h==null?void 0:h[e][c])||s,w=l.useMemo(()=>v,Object.values(v));return J.jsx(g.Provider,{value:w,children:f})}u(d,"Provider");function p(m,h){let f=(h==null?void 0:h[e][c])||s,v=l.useContext(f);if(v)return v;if(i!==void 0)return i;throw new Error(`\`${m}\` must be used within \`${o}\``)}return u(p,"useContext2"),d.displayName=o+"Provider",[d,p]}u(n,"createContext3");let a=u(()=>{let o=r.map(i=>l.createContext(i));return u(function(i){let s=(i==null?void 0:i[e])||o;return l.useMemo(()=>({[`__scope${e}`]:{...i,[e]:s}}),[i,s])},"useScope")},"createScope");return a.scopeName=e,[n,Xy(a,...t)]}function Xy(...e){let t=e[0];if(e.length===1)return t;let r=u(()=>{let n=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return u(function(a){let o=n.reduce((i,{useScope:s,scopeName:c})=>{let d=s(a)[`__scope${c}`];return{...i,...d}},{});return l.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])},"useComposedScopes")},"createScope");return r.scopeName=t.scopeName,r}var fk=T(()=>{u(Jy,"createContextScope"),u(Xy,"composeContextScopes")});function Er(e){let t=l.useRef(e);return l.useEffect(()=>{t.current=e}),l.useMemo(()=>(...r)=>{var n;return(n=t.current)==null?void 0:n.call(t,...r)},[])}var hk=T(()=>{u(Er,"useCallbackRef")});function Qy(e){let t=l.useContext(eb);return e||t||"ltr"}var eb,mk=T(()=>{eb=l.createContext(void 0),u(Qy,"useDirection")});function tb(e,[t,r]){return Math.min(r,Math.max(t,e))}var gk=T(()=>{u(tb,"clamp")});function hr(e,t,{checkForDefaultPrevented:r=!0}={}){return u(function(n){if(e==null||e(n),r===!1||!n.defaultPrevented)return t==null?void 0:t(n)},"handleEvent")}var vk=T(()=>{u(hr,"composeEventHandlers")});function em(e,t){return l.useReducer((r,n)=>t[r][n]??r,e)}function ja(e){return e?parseInt(e,10):0}function ld(e,t){let r=e/t;return isNaN(r)?0:r}function Do(e){let t=ld(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,n=(e.scrollbar.size-r)*t;return Math.max(n,18)}function tm(e,t,r,n="ltr"){let a=Do(r),o=a/2,i=t||o,s=a-i,c=r.scrollbar.paddingStart+i,d=r.scrollbar.size-r.scrollbar.paddingEnd-s,p=r.content-r.viewport,m=n==="ltr"?[0,p]:[p*-1,0];return Cp([c,d],m)(e)}function Iu(e,t,r="ltr"){let n=Do(t),a=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,o=t.scrollbar.size-a,i=t.content-t.viewport,s=o-n,c=r==="ltr"?[0,i]:[i*-1,0],d=tb(e,c);return Cp([0,i],[0,s])(d)}function Cp(e,t){return r=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let n=(t[1]-t[0])/(e[1]-e[0]);return t[0]+n*(r-e[0])}}function Bu(e,t){return e>0&&e ()=>window.clearTimeout(n.current),[]),l.useCallback(()=>{window.clearTimeout(n.current),n.current=window.setTimeout(r,t)},[r,t])}function Hr(e,t){let r=Er(t);Tl(()=>{let n=0;if(e){let a=new ResizeObserver(()=>{cancelAnimationFrame(n),n=window.requestAnimationFrame(r)});return a.observe(e),()=>{window.cancelAnimationFrame(n),a.unobserve(e)}}},[e,r])}function rm(e,t){let{asChild:r,children:n}=e;if(!r)return typeof t=="function"?t(n):t;let a=l.Children.only(n);return l.cloneElement(a,{children:typeof t=="function"?t(a.props.children):t})}var Fi,Tu,yk,nm,je,zu,Lu,Ou,at,Mu,am,om,Pu,_i,im,lm,sm,$u,Nu,Ua,Hu,um,Ri,ju,cm,dm,rb,nb,ab,ob,ib,bk=T(()=>{"use client";dk(),pk(),fk(),Yy(),hk(),mk(),Ky(),gk(),vk(),u(em,"useStateMachine"),Fi="ScrollArea",[Tu,yk]=Jy(Fi),[nm,je]=Tu(Fi),zu=l.forwardRef((e,t)=>{let{__scopeScrollArea:r,type:n="hover",dir:a,scrollHideDelay:o=600,...i}=e,[s,c]=l.useState(null),[d,p]=l.useState(null),[m,h]=l.useState(null),[f,v]=l.useState(null),[g,w]=l.useState(null),[x,D]=l.useState(0),[E,b]=l.useState(0),[C,S]=l.useState(!1),[k,A]=l.useState(!1),_=yr(t,B=>c(B)),I=Qy(a);return J.jsx(nm,{scope:r,type:n,dir:I,scrollHideDelay:o,scrollArea:s,viewport:d,onViewportChange:p,content:m,onContentChange:h,scrollbarX:f,onScrollbarXChange:v,scrollbarXEnabled:C,onScrollbarXEnabledChange:S,scrollbarY:g,onScrollbarYChange:w,scrollbarYEnabled:k,onScrollbarYEnabledChange:A,onCornerWidthChange:D,onCornerHeightChange:b,children:J.jsx(Nn.div,{dir:I,...i,ref:_,style:{position:"relative","--radix-scroll-area-corner-width":x+"px","--radix-scroll-area-corner-height":E+"px",...e.style}})})}),zu.displayName=Fi,Lu="ScrollAreaViewport",Ou=l.forwardRef((e,t)=>{let{__scopeScrollArea:r,children:n,asChild:a,nonce:o,...i}=e,s=je(Lu,r),c=l.useRef(null),d=yr(t,c,s.onViewportChange);return J.jsxs(J.Fragment,{children:[J.jsx("style",{dangerouslySetInnerHTML:{__html:` +`)};if(I===0){var L=p.slice(h+1,f).concat(xo({children:[z],className:C.properties.className})),M=w(L,B);m.push(M)}else if(I===A.length-1){var O=p[f+1]&&p[f+1].children&&p[f+1].children[0],P={type:"text",value:"".concat(_)};if(O){var j=xo({children:[P],className:C.properties.className});p.splice(f+1,0,j)}else{var U=[P],V=w(U,B,C.properties.className);m.push(V)}}else{var G=[z],Q=w(G,B,C.properties.className);m.push(Q)}}),h=f}f++},"_loop");f {lS(),pS(),ay(),uy(),mS(),by=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"],u(id,"ownKeys"),u(st,"_objectSpread"),wy=/\n/g,u(dy,"getNewLines"),u(py,"getAllLineNumbers"),u(fy,"AllLineNumbers"),u(hy,"getEmWidthOfNumber"),u(vp,"getInlineLineNumber"),u(yp,"assembleLineNumberStyles"),u(xo,"createLineElement"),u(bp,"flattenCodeTree"),u(my,"processLines"),u(gy,"defaultRenderer"),u(wp,"isHighlightJs"),u(vy,"getCodeTree"),u(yy,"default")}),vS=q((e,t)=>{t.exports=n;var r=Object.prototype.hasOwnProperty;function n(){for(var a={},o=0;o {t.exports=n;var r=n.prototype;r.space=null,r.normal={},r.property={};function n(a,o,i){this.property=a,this.normal=o,i&&(this.space=i)}u(n,"Schema")}),yS=q((e,t)=>{var r=vS(),n=Ey();t.exports=a;function a(o){for(var i=o.length,s=[],c=[],d=-1,p,m;++d{t.exports=r;function r(n){return n.toLowerCase()}u(r,"normalize")}),xy=q((e,t)=>{t.exports=n;var r=n.prototype;r.space=null,r.attribute=null,r.property=null,r.boolean=!1,r.booleanish=!1,r.overloadedBoolean=!1,r.number=!1,r.commaSeparated=!1,r.spaceSeparated=!1,r.commaOrSpaceSeparated=!1,r.mustUseProperty=!1,r.defined=!1;function n(a,o){this.property=a,this.attribute=o}u(n,"Info")}),xp=q(e=>{var t=0;e.boolean=r(),e.booleanish=r(),e.overloadedBoolean=r(),e.number=r(),e.spaceSeparated=r(),e.commaSeparated=r(),e.commaOrSpaceSeparated=r();function r(){return Math.pow(2,++t)}u(r,"increment")}),Dy=q((e,t)=>{var r=xy(),n=xp();t.exports=i,i.prototype=new r,i.prototype.defined=!0;var a=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],o=a.length;function i(c,d,p,m){var h=-1,f;for(s(this,"space",m),r.call(this,c,d);++h {var r=Ep(),n=Ey(),a=Dy();t.exports=o;function o(i){var s=i.space,c=i.mustUseProperty||[],d=i.attributes||{},p=i.properties,m=i.transform,h={},f={},v,g;for(v in p)g=new a(v,m(d,v),p[v],s),c.indexOf(v)!==-1&&(g.mustUseProperty=!0),h[v]=g,f[r(v)]=v,f[r(g.attribute)]=v;return new n(h,f,s)}u(o,"create")}),bS=q((e,t)=>{var r=Qo();t.exports=r({space:"xlink",transform:n,properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}});function n(a,o){return"xlink:"+o.slice(5).toLowerCase()}u(n,"xlinkTransform")}),wS=q((e,t)=>{var r=Qo();t.exports=r({space:"xml",transform:n,properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function n(a,o){return"xml:"+o.slice(3).toLowerCase()}u(n,"xmlTransform")}),ES=q((e,t)=>{t.exports=r;function r(n,a){return a in n?n[a]:a}u(r,"caseSensitiveTransform")}),Cy=q((e,t)=>{var r=ES();t.exports=n;function n(a,o){return r(a,o.toLowerCase())}u(n,"caseInsensitiveTransform")}),xS=q((e,t)=>{var r=Qo(),n=Cy();t.exports=r({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:n,properties:{xmlns:null,xmlnsXLink:null}})}),DS=q((e,t)=>{var r=xp(),n=Qo(),a=r.booleanish,o=r.number,i=r.spaceSeparated;t.exports=n({transform:s,properties:{ariaActiveDescendant:null,ariaAtomic:a,ariaAutoComplete:null,ariaBusy:a,ariaChecked:a,ariaColCount:o,ariaColIndex:o,ariaColSpan:o,ariaControls:i,ariaCurrent:null,ariaDescribedBy:i,ariaDetails:null,ariaDisabled:a,ariaDropEffect:i,ariaErrorMessage:null,ariaExpanded:a,ariaFlowTo:i,ariaGrabbed:a,ariaHasPopup:null,ariaHidden:a,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:i,ariaLevel:o,ariaLive:null,ariaModal:a,ariaMultiLine:a,ariaMultiSelectable:a,ariaOrientation:null,ariaOwns:i,ariaPlaceholder:null,ariaPosInSet:o,ariaPressed:a,ariaReadOnly:a,ariaRelevant:null,ariaRequired:a,ariaRoleDescription:i,ariaRowCount:o,ariaRowIndex:o,ariaRowSpan:o,ariaSelected:a,ariaSetSize:o,ariaSort:null,ariaValueMax:o,ariaValueMin:o,ariaValueNow:o,ariaValueText:null,role:null}});function s(c,d){return d==="role"?d:"aria-"+d.slice(4).toLowerCase()}u(s,"ariaTransform")}),CS=q((e,t)=>{var r=xp(),n=Qo(),a=Cy(),o=r.boolean,i=r.overloadedBoolean,s=r.booleanish,c=r.number,d=r.spaceSeparated,p=r.commaSeparated;t.exports=n({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:a,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:p,acceptCharset:d,accessKey:d,action:null,allow:null,allowFullScreen:o,allowPaymentRequest:o,allowUserMedia:o,alt:null,as:null,async:o,autoCapitalize:null,autoComplete:d,autoFocus:o,autoPlay:o,capture:o,charSet:null,checked:o,cite:null,className:d,cols:c,colSpan:null,content:null,contentEditable:s,controls:o,controlsList:d,coords:c|p,crossOrigin:null,data:null,dateTime:null,decoding:null,default:o,defer:o,dir:null,dirName:null,disabled:o,download:i,draggable:s,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:o,formTarget:null,headers:d,height:c,hidden:o,high:c,href:null,hrefLang:null,htmlFor:d,httpEquiv:d,id:null,imageSizes:null,imageSrcSet:p,inputMode:null,integrity:null,is:null,isMap:o,itemId:null,itemProp:d,itemRef:d,itemScope:o,itemType:d,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:o,low:c,manifest:null,max:null,maxLength:c,media:null,method:null,min:null,minLength:c,multiple:o,muted:o,name:null,nonce:null,noModule:o,noValidate:o,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:o,optimum:c,pattern:null,ping:d,placeholder:null,playsInline:o,poster:null,preload:null,readOnly:o,referrerPolicy:null,rel:d,required:o,reversed:o,rows:c,rowSpan:c,sandbox:d,scope:null,scoped:o,seamless:o,selected:o,shape:null,size:c,sizes:null,slot:null,span:c,spellCheck:s,src:null,srcDoc:null,srcLang:null,srcSet:p,start:c,step:null,style:null,tabIndex:c,target:null,title:null,translate:null,type:null,typeMustMatch:o,useMap:null,value:s,width:c,wrap:null,align:null,aLink:null,archive:d,axis:null,background:null,bgColor:null,border:c,borderColor:null,bottomMargin:c,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:o,declare:o,event:null,face:null,frame:null,frameBorder:null,hSpace:c,leftMargin:c,link:null,longDesc:null,lowSrc:null,marginHeight:c,marginWidth:c,noResize:o,noHref:o,noShade:o,noWrap:o,object:null,profile:null,prompt:null,rev:null,rightMargin:c,rules:null,scheme:null,scrolling:s,standby:null,summary:null,text:null,topMargin:c,valueType:null,version:null,vAlign:null,vLink:null,vSpace:c,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:o,disableRemotePlayback:o,prefix:null,property:null,results:c,security:null,unselectable:null}})}),SS=q((e,t)=>{var r=yS(),n=bS(),a=wS(),o=xS(),i=DS(),s=CS();t.exports=r([a,n,o,i,s])}),kS=q((e,t)=>{var r=Ep(),n=Dy(),a=xy(),o="data";t.exports=d;var i=/^data[-\w.:]+$/i,s=/-[a-z]/g,c=/[A-Z]/g;function d(v,g){var w=r(g),x=g,D=a;return w in v.normal?v.property[v.normal[w]]:(w.length>4&&w.slice(0,4)===o&&i.test(g)&&(g.charAt(4)==="-"?x=p(g):g=m(g),D=n),new D(x,g))}u(d,"find");function p(v){var g=v.slice(5).replace(s,f);return o+g.charAt(0).toUpperCase()+g.slice(1)}u(p,"datasetToProperty");function m(v){var g=v.slice(4);return s.test(g)?v:(g=g.replace(c,h),g.charAt(0)!=="-"&&(g="-"+g),o+g)}u(m,"datasetToAttribute");function h(v){return"-"+v.toLowerCase()}u(h,"kebab");function f(v){return v.charAt(1).toUpperCase()}u(f,"camelcase")}),AS=q((e,t)=>{t.exports=n;var r=/[#.]/g;function n(a,o){for(var i=a||"",s=o||"div",c={},d=0,p,m,h;d {e.parse=a,e.stringify=o;var t="",r=" ",n=/[ \t\n\r\f]+/g;function a(i){var s=String(i||t).trim();return s===t?[]:s.split(n)}u(a,"parse");function o(i){return i.join(r).trim()}u(o,"stringify")}),_S=q(e=>{e.parse=a,e.stringify=o;var t=",",r=" ",n="";function a(i){for(var s=[],c=String(i||n),d=c.indexOf(t),p=0,m=!1,h;!m;)d===-1&&(d=c.length,m=!0),h=c.slice(p,d).trim(),(h||!m)&&s.push(h),p=d+1,d=c.indexOf(t,p);return s}u(a,"parse");function o(i,s){var c=s||{},d=c.padLeft===!1?n:r,p=c.padRight?r:n;return i[i.length-1]===n&&(i=i.concat(n)),i.join(p+t+d).trim()}u(o,"stringify")}),RS=q((e,t)=>{var r=kS(),n=Ep(),a=AS(),o=FS().parse,i=_S().parse;t.exports=c;var s={}.hasOwnProperty;function c(w,x,D){var E=D?g(D):null;return b;function b(S,k){var A=a(S,x),_=Array.prototype.slice.call(arguments,2),I=A.tagName.toLowerCase(),B;if(A.tagName=E&&s.call(E,I)?E[I]:I,k&&d(k,A)&&(_.unshift(k),k=null),k)for(B in k)C(A.properties,B,k[B]);return m(A.children,_),A.tagName==="template"&&(A.content={type:"root",children:A.children},A.children=[]),A}function C(S,k,A){var _,I,B;A==null||A!==A||(_=r(w,k),I=_.property,B=A,typeof B=="string"&&(_.spaceSeparated?B=o(B):_.commaSeparated?B=i(B):_.commaOrSpaceSeparated&&(B=o(i(B).join(" ")))),I==="style"&&typeof A!="string"&&(B=v(B)),I==="className"&&S.className&&(B=S.className.concat(B)),S[I]=h(_,I,B))}}u(c,"factory");function d(w,x){return typeof w=="string"||"length"in w||p(x.tagName,w)}u(d,"isChildren");function p(w,x){var D=x.type;return w==="input"||!D||typeof D!="string"?!1:typeof x.children=="object"&&"length"in x.children?!0:(D=D.toLowerCase(),w==="button"?D!=="menu"&&D!=="submit"&&D!=="reset"&&D!=="button":"value"in x)}u(p,"isNode");function m(w,x){var D,E;if(typeof x=="string"||typeof x=="number"){w.push({type:"text",value:String(x)});return}if(typeof x=="object"&&"length"in x){for(D=-1,E=x.length;++D {var r=SS(),n=RS(),a=n(r,"div");a.displayName="html",t.exports=a}),BS=q((e,t)=>{t.exports=IS()}),TS=q((e,t)=>{t.exports={AElig:"Æ",AMP:"&",Aacute:"Á",Acirc:"Â",Agrave:"À",Aring:"Å",Atilde:"Ã",Auml:"Ä",COPY:"©",Ccedil:"Ç",ETH:"Ð",Eacute:"É",Ecirc:"Ê",Egrave:"È",Euml:"Ë",GT:">",Iacute:"Í",Icirc:"Î",Igrave:"Ì",Iuml:"Ï",LT:"<",Ntilde:"Ñ",Oacute:"Ó",Ocirc:"Ô",Ograve:"Ò",Oslash:"Ø",Otilde:"Õ",Ouml:"Ö",QUOT:'"',REG:"®",THORN:"Þ",Uacute:"Ú",Ucirc:"Û",Ugrave:"Ù",Uuml:"Ü",Yacute:"Ý",aacute:"á",acirc:"â",acute:"´",aelig:"æ",agrave:"à",amp:"&",aring:"å",atilde:"ã",auml:"ä",brvbar:"¦",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",ecirc:"ê",egrave:"è",eth:"ð",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",iacute:"í",icirc:"î",iexcl:"¡",igrave:"ì",iquest:"¿",iuml:"ï",laquo:"«",lt:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",oacute:"ó",ocirc:"ô",ograve:"ò",ordf:"ª",ordm:"º",oslash:"ø",otilde:"õ",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',raquo:"»",reg:"®",sect:"§",shy:"",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",times:"×",uacute:"ú",ucirc:"û",ugrave:"ù",uml:"¨",uuml:"ü",yacute:"ý",yen:"¥",yuml:"ÿ"}}),zS=q((e,t)=>{t.exports={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"}}),Sy=q((e,t)=>{t.exports=r;function r(n){var a=typeof n=="string"?n.charCodeAt(0):n;return a>=48&&a<=57}u(r,"decimal")}),LS=q((e,t)=>{t.exports=r;function r(n){var a=typeof n=="string"?n.charCodeAt(0):n;return a>=97&&a<=102||a>=65&&a<=70||a>=48&&a<=57}u(r,"hexadecimal")}),OS=q((e,t)=>{t.exports=r;function r(n){var a=typeof n=="string"?n.charCodeAt(0):n;return a>=97&&a<=122||a>=65&&a<=90}u(r,"alphabetical")}),MS=q((e,t)=>{var r=OS(),n=Sy();t.exports=a;function a(o){return r(o)||n(o)}u(a,"alphanumerical")}),PS=q((e,t)=>{var r,n=59;t.exports=a;function a(o){var i="&"+o+";",s;return r=r||document.createElement("i"),r.innerHTML=i,s=r.textContent,s.charCodeAt(s.length-1)===n&&o!=="semi"||s===i?!1:s}u(a,"decodeEntity")}),$S=q((e,t)=>{var r=TS(),n=zS(),a=Sy(),o=LS(),i=MS(),s=PS();t.exports=Q;var c={}.hasOwnProperty,d=String.fromCharCode,p=Function.prototype,m={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},h=9,f=10,v=12,g=32,w=38,x=59,D=60,E=61,b=35,C=88,S=120,k=65533,A="named",_="hexadecimal",I="decimal",B={};B[_]=16,B[I]=10;var z={};z[A]=i,z[I]=a,z[_]=o;var L=1,M=2,O=3,P=4,j=5,U=6,V=7,G={};G[L]="Named character references must be terminated by a semicolon",G[M]="Numeric character references must be terminated by a semicolon",G[O]="Named character references cannot be empty",G[P]="Numeric character references cannot be empty",G[j]="Named character references must be known",G[U]="Numeric character references cannot be disallowed",G[V]="Numeric character references cannot be outside the permissible Unicode range";function Q(N,K){var re={},fe,Ce;K||(K={});for(Ce in m)fe=K[Ce],re[Ce]=fe??m[Ce];return(re.position.indent||re.position.start)&&(re.indent=re.position.indent||[],re.position=re.position.start),ne(N,re)}u(Q,"parseEntities");function ne(N,K){var re=K.additional,fe=K.nonTerminated,Ce=K.text,xt=K.reference,He=K.warning,tt=K.textContext,$=K.referenceContext,rt=K.warningContext,Dt=K.position,Mr=K.indent||[],An=N.length,Ct=0,bi=-1,Re=Dt.column||1,Pr=Dt.line||1,St="",Fn=[],kt,_n,At,Se,nt,ye,ce,Ft,wi,bu,$r,Pa,Nr,Kt,ch,$a,Ei,_t,be;for(typeof re=="string"&&(re=re.charCodeAt(0)),$a=Na(),Ft=He?$x:p,Ct--,An++;++Ct 65535&&(ye-=65536,bu+=d(ye>>>10|55296),ye=56320|ye&1023),ye=bu+d(ye))):Kt!==A&&Ft(P,_t)),ye?(dh(),$a=Na(),Ct=be-1,Re+=be-Nr+1,Fn.push(ye),Ei=Na(),Ei.offset++,xt&&xt.call($,ye,{start:$a,end:Ei},N.slice(Nr-1,be)),$a=Ei):(Se=N.slice(Nr-1,be),St+=Se,Re+=Se.length,Ct=be-1)}else nt===10&&(Pr++,bi++,Re=0),nt===nt?(St+=d(nt),Re++):dh();return Fn.join("");function Na(){return{line:Pr,column:Re,offset:Ct+(Dt.offset||0)}}function $x(ph,fh){var wu=Na();wu.column+=fh,wu.offset+=fh,He.call(rt,G[ph],wu,ph)}function dh(){St&&(Fn.push(St),Ce&&Ce.call(tt,St,{start:$a,end:Na()}),St="")}}u(ne,"parse");function Z(N){return N>=55296&&N<=57343||N>1114111}u(Z,"prohibited");function ie(N){return N>=1&&N<=8||N===11||N>=13&&N<=31||N>=127&&N<=159||N>=64976&&N<=65007||(N&65535)===65535||(N&65535)===65534}u(ie,"disallowed")}),NS=q((e,t)=>{var r=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{},n=function(a){var o=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,i=0,s={},c={manual:a.Prism&&a.Prism.manual,disableWorkerMessageHandler:a.Prism&&a.Prism.disableWorkerMessageHandler,util:{encode:u(function E(b){return b instanceof d?new d(b.type,E(b.content),b.alias):Array.isArray(b)?b.map(E):b.replace(/&/g,"&").replace(/ =A.reach);G+=V.value.length,V=V.next){var Q=V.value;if(b.length>E.length)return;if(!(Q instanceof d)){var ne=1,Z;if(O){if(Z=p(U,G,E,M),!Z||Z.index>=E.length)break;var re=Z.index,ie=Z.index+Z[0].length,N=G;for(N+=V.value.length;re>=N;)V=V.next,N+=V.value.length;if(N-=V.value.length,G=N,V.value instanceof d)continue;for(var K=V;K!==b.tail&&(N A.reach&&(A.reach=He);var tt=V.prev;Ce&&(tt=f(b,tt,Ce),G+=Ce.length),v(b,tt,ne);var $=new d(_,L?c.tokenize(fe,L):fe,P,fe);if(V=f(b,tt,$),xt&&f(b,V,xt),ne>1){var rt={cause:_+","+B,reach:He};m(E,b,C,V.prev,G,rt),A&&rt.reach>A.reach&&(A.reach=rt.reach)}}}}}}u(m,"matchGrammar");function h(){var E={value:null,prev:null,next:null},b={value:null,prev:E,next:null};E.next=b,this.head=E,this.tail=b,this.length=0}u(h,"LinkedList");function f(E,b,C){var S=b.next,k={value:C,prev:b,next:S};return b.next=k,S.prev=k,E.length++,k}u(f,"addAfter");function v(E,b,C){for(var S=b.next,k=0;k {t.exports=r,r.displayName="markup",r.aliases=["html","mathml","svg","xml","ssml","atom","rss"];function r(n){n.languages.markup={comment:{pattern://,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"},/?[\da-f]{1,8};/i]},n.languages.markup.tag.inside["attr-value"].inside.entity=n.languages.markup.entity,n.languages.markup.doctype.inside["internal-subset"].inside=n.languages.markup,n.hooks.add("wrap",function(a){a.type==="entity"&&(a.attributes.title=a.content.value.replace(/&/,"&"))}),Object.defineProperty(n.languages.markup.tag,"addInlined",{value:u(function(a,o){var i={};i["language-"+o]={pattern:/(^$)/i,lookbehind:!0,inside:n.languages[o]},i.cdata=/^$/i;var s={"included-cdata":{pattern://i,inside:i}};s["language-"+o]={pattern:/[\s\S]+/,inside:n.languages[o]};var c={};c[a]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return a}),"i"),lookbehind:!0,greedy:!0,inside:s},n.languages.insertBefore("markup","cdata",c)},"addInlined")}),Object.defineProperty(n.languages.markup.tag,"addAttribute",{value:u(function(a,o){n.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+a+")"+/\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:[o,"language-"+o],inside:n.languages[o]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})},"value")}),n.languages.html=n.languages.markup,n.languages.mathml=n.languages.markup,n.languages.svg=n.languages.markup,n.languages.xml=n.languages.extend("markup",{}),n.languages.ssml=n.languages.xml,n.languages.atom=n.languages.xml,n.languages.rss=n.languages.xml}u(r,"markup")}),Ay=q((e,t)=>{t.exports=r,r.displayName="css",r.aliases=[];function r(n){(function(a){var o=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;a.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\\((?:"+o.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+o.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+o.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:o,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:/[(){};:,]/},a.languages.css.atrule.inside.rest=a.languages.css;var i=a.languages.markup;i&&(i.tag.addInlined("style","css"),i.tag.addAttribute("style","css"))})(n)}u(r,"css")}),HS=q((e,t)=>{t.exports=r,r.displayName="clike",r.aliases=[];function r(n){n.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:/[{}[\];(),.:]/}}u(r,"clike")}),jS=q((e,t)=>{t.exports=r,r.displayName="javascript",r.aliases=["js"];function r(n){n.languages.javascript=n.languages.extend("clike",{"class-name":[n.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}|\?\?=?|\?\.?|[~:]/}),n.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,n.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:n.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:n.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:n.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:n.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:n.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),n.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:n.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"}}),n.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),n.languages.markup&&(n.languages.markup.tag.addInlined("script","javascript"),n.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")),n.languages.js=n.languages.javascript}u(r,"javascript")}),VS=q((e,t)=>{var r=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof global=="object"?global:{},n=k();r.Prism={manual:!0,disableWorkerMessageHandler:!0};var a=BS(),o=$S(),i=NS(),s=ky(),c=Ay(),d=HS(),p=jS();n();var m={}.hasOwnProperty;function h(){}u(h,"Refractor"),h.prototype=i;var f=new h;t.exports=f,f.highlight=w,f.register=v,f.alias=g,f.registered=x,f.listLanguages=D,v(s),v(c),v(d),v(p),f.util.encode=C,f.Token.stringify=E;function v(A){if(typeof A!="function"||!A.displayName)throw new Error("Expected `function` for `grammar`, got `"+A+"`");f.languages[A.displayName]===void 0&&A(f)}u(v,"register");function g(A,_){var I=f.languages,B=A,z,L,M,O;_&&(B={},B[A]=_);for(z in B)for(L=B[z],L=typeof L=="string"?[L]:L,M=L.length,O=-1;++O {gS(),Si=De(VS()),ki=yy(Si.default,{}),ki.registerLanguage=function(e,t){return Si.default.register(t)},ki.alias=function(e,t){return Si.default.alias(e,t)},nl=ki}),qS=T(()=>{uy()}),WS=q((e,t)=>{t.exports=r,r.displayName="bash",r.aliases=["shell"];function r(n){(function(a){var o="\\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},s={bash:i,environment:{pattern:RegExp("\\$"+o),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("(\\{)"+o),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})/};a.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;|&]|[<>]\\()"+o),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:s},{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:s},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:s.entity}}],environment:{pattern:RegExp("\\$?"+o),alias:"constant"},variable:s.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=a.languages.bash;for(var c=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],d=s.variable[1].inside,p=0;p {Oh=De(WS()),Fy=Oh.default}),Mh,_y,YS=T(()=>{Mh=De(Ay()),_y=Mh.default}),KS=q((e,t)=>{t.exports=r,r.displayName="graphql",r.aliases=[];function r(n){n.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:n.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+/},n.hooks.add("after-tokenize",u(function(a){if(a.language!=="graphql")return;var o=a.tokens.filter(function(D){return typeof D!="string"&&D.type!=="comment"&&D.type!=="scalar"}),i=0;function s(D){return o[i+D]}u(s,"getToken");function c(D,E){E=E||0;for(var b=0;b 0)){var g=d(/^\{$/,/^\}$/);if(g===-1)continue;for(var w=i;w =0&&p(x,"variable-input")}}}}},"afterTokenizeGraphql"))}u(r,"graphql")}),Ph,Ry,ZS=T(()=>{Ph=De(KS()),Ry=Ph.default}),JS=q((e,t)=>{t.exports=r,r.displayName="jsExtras",r.aliases=[];function r(n){(function(a){a.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+a.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),a.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+a.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),a.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 o(m,h){return RegExp(m.replace(/ /g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),h)}u(o,"withId"),a.languages.insertBefore("javascript","keyword",{imports:{pattern:o(/(\bimport\b\s*)(?: (?:\s*,\s*(?:\*\s*as\s+ |\{[^{}]*\}))?|\*\s*as\s+ |\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:a.languages.javascript},exports:{pattern:o(/(\bexport\b\s*)(?:\*(?:\s*as\s+ )?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:a.languages.javascript}}),a.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"}),a.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),a.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:o(/(\.\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"],s=0;s {$h=De(JS()),Iy=$h.default}),QS=q((e,t)=>{t.exports=r,r.displayName="json",r.aliases=["webmanifest"];function r(n){n.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"}},n.languages.webmanifest=n.languages.json}u(r,"json")}),Nh,By,ek=T(()=>{Nh=De(QS()),By=Nh.default}),Ty=q((e,t)=>{t.exports=r,r.displayName="jsx",r.aliases=[];function r(n){(function(a){var o=a.util.clone(a.languages.javascript),i=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,s=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,c=/(?:\{ *\.{3}(?:[^{}]|)*\})/.source;function d(h,f){return h=h.replace(/ /g,function(){return i}).replace(//g,function(){return s}).replace(/ /g,function(){return c}),RegExp(h,f)}u(d,"re"),c=d(c).source,a.languages.jsx=a.languages.extend("markup",o),a.languages.jsx.tag.pattern=d(/<\/?(?:[\w.:-]+(?: +(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?| ))* *\/?)?>/.source),a.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,a.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,a.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,a.languages.jsx.tag.inside.comment=o.comment,a.languages.insertBefore("inside","attr-name",{spread:{pattern:d(//.source),inside:a.languages.jsx}},a.languages.jsx.tag),a.languages.insertBefore("inside","special-attr",{script:{pattern:d(/= /.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:a.languages.jsx}}},a.languages.jsx.tag);var p=u(function(h){return h?typeof h=="string"?h:typeof h.content=="string"?h.content:h.content.map(p).join(""):""},"stringifyToken"),m=u(function(h){for(var f=[],v=0;v 0&&f[f.length-1].tagName===p(g.content[0].content[1])&&f.pop():g.content[g.content.length-1].content==="/>"||f.push({tagName:p(g.content[0].content[1]),openedBraces:0}):f.length>0&&g.type==="punctuation"&&g.content==="{"?f[f.length-1].openedBraces++:f.length>0&&f[f.length-1].openedBraces>0&&g.type==="punctuation"&&g.content==="}"?f[f.length-1].openedBraces--:w=!0),(w||typeof g=="string")&&f.length>0&&f[f.length-1].openedBraces===0){var x=p(g);v 0&&(typeof h[v-1]=="string"||h[v-1].type==="plain-text")&&(x=p(h[v-1])+x,h.splice(v-1,1),v--),h[v]=new a.Token("plain-text",x,null,x)}g.content&&typeof g.content!="string"&&m(g.content)}},"walkTokens");a.hooks.add("after-tokenize",function(h){h.language!=="jsx"&&h.language!=="tsx"||m(h.tokens)})})(n)}u(r,"jsx")}),Hh,zy,tk=T(()=>{Hh=De(Ty()),zy=Hh.default}),rk=q((e,t)=>{t.exports=r,r.displayName="markdown",r.aliases=["md"];function r(n){(function(a){var o=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function i(v){return v=v.replace(/ /g,function(){return o}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+v+")")}u(i,"createInline");var s=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,c=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return s}),d=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;a.languages.markdown=a.languages.extend("markup",{}),a.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:a.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+c+d+"(?:"+c+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+c+d+")(?:"+c+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(s),inside:a.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+c+")"+d+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+c+"$"),inside:{"table-header":{pattern:RegExp(s),alias:"important",inside:a.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(v){["url","bold","italic","strike","code-snippet"].forEach(function(g){v!==g&&(a.languages.markdown[v].inside.content.inside[g]=a.languages.markdown[g])})}),a.hooks.add("after-tokenize",function(v){if(v.language!=="markdown"&&v.language!=="md")return;function g(w){if(!(!w||typeof w=="string"))for(var x=0,D=w.length;x ",quot:'"'},h=String.fromCodePoint||String.fromCharCode;function f(v){var g=v.replace(p,"");return g=g.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(w,x){if(x=x.toLowerCase(),x[0]==="#"){var D;return x[1]==="x"?D=parseInt(x.slice(2),16):D=Number(x.slice(1)),h(D)}else{var E=m[x];return E||w}}),g}u(f,"textContent"),a.languages.md=a.languages.markdown})(n)}u(r,"markdown")}),jh,Ly,nk=T(()=>{jh=De(rk()),Ly=jh.default}),Vh,Oy,ak=T(()=>{Vh=De(ky()),Oy=Vh.default}),My=q((e,t)=>{t.exports=r,r.displayName="typescript",r.aliases=["ts"];function r(n){(function(a){a.languages.typescript=a.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),a.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 a.languages.typescript.parameter,delete a.languages.typescript["literal-property"];var o=a.languages.extend("typescript",{});delete o["class-name"],a.languages.typescript["class-name"].inside=o,a.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:o}}}}),a.languages.ts=a.languages.typescript})(n)}u(r,"typescript")}),ok=q((e,t)=>{var r=Ty(),n=My();t.exports=a,a.displayName="tsx",a.aliases=[];function a(o){o.register(r),o.register(n),function(i){var s=i.util.clone(i.languages.typescript);i.languages.tsx=i.languages.extend("jsx",s),delete i.languages.tsx.parameter,delete i.languages.tsx["literal-property"];var c=i.languages.tsx.tag;c.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+c.pattern.source+")",c.pattern.flags),c.lookbehind=!0}(o)}u(a,"tsx")}),Uh,Py,ik=T(()=>{Uh=De(ok()),Py=Uh.default}),qh,$y,lk=T(()=>{qh=De(My()),$y=qh.default}),sk=q((e,t)=>{t.exports=r,r.displayName="yaml",r.aliases=["yml"];function r(n){(function(a){var o=/[*&][^\s[\]{},]+/,i=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,s="(?:"+i.source+"(?:[ ]+"+o.source+")?|"+o.source+"(?:[ ]+"+i.source+")?)",c=/(?:[^\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}),d=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function p(m,h){h=(h||"").replace(/m/g,"")+"m";var f=/([:\-,[{]\s*(?:\s< >[ \t]+)?)(?:< >)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/< >/g,function(){return s}).replace(/< >/g,function(){return m});return RegExp(f,h)}u(p,"createValuePattern"),a.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s< >[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/< >/g,function(){return s})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:< >[ \t]+)?)< >(?=\s*:\s)/.source.replace(/< >/g,function(){return s}).replace(/< >/g,function(){return"(?:"+c+"|"+d+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:p(/\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:p(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:p(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:p(d),lookbehind:!0,greedy:!0},number:{pattern:p(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:i,important:o,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},a.languages.yml=a.languages.yaml})(n)}u(r,"yaml")}),Wh,Ny,uk=T(()=>{Wh=De(sk()),Ny=Wh.default}),Gh,Ru,Dp,Hy=T(()=>{Gh=F.div(({theme:e})=>({position:"absolute",bottom:0,right:0,maxWidth:"100%",display:"flex",background:e.background.content,zIndex:1})),Ru=F.button(({theme:e})=>({margin:0,border:"0 none",padding:"4px 10px",cursor:"pointer",display:"flex",alignItems:"center",color:e.color.defaultText,background:e.background.content,fontSize:12,lineHeight:"16px",fontFamily:e.typography.fonts.base,fontWeight:e.typography.weight.bold,borderTop:`1px solid ${e.appBorderColor}`,borderLeft:`1px solid ${e.appBorderColor}`,marginLeft:-1,borderRadius:"4px 0 0 0","&:not(:last-child)":{borderRight:`1px solid ${e.appBorderColor}`},"& + *":{borderLeft:`1px solid ${e.appBorderColor}`,borderRadius:0},"&:focus":{boxShadow:`${e.color.secondary} 0 -3px 0 0 inset`,outline:"0 none"}}),({disabled:e})=>e&&{cursor:"not-allowed",opacity:.5}),Ru.displayName="ActionButton",Dp=u(({actionItems:e,...t})=>y.createElement(Gh,{...t},e.map(({title:r,className:n,onClick:a,disabled:o},i)=>y.createElement(Ru,{key:i,className:n,onClick:a,disabled:!!o},r))),"ActionBar")});function jy(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Vy(...e){return t=>e.forEach(r=>jy(r,t))}var ck=T(()=>{u(jy,"setRef"),u(Vy,"composeRefs")});function Yh(e){return l.isValidElement(e)&&e.type===Uy}function Kh(e,t){let r={...t};for(let n in t){let a=e[n],o=t[n];/^on[A-Z]/.test(n)?a&&o?r[n]=(...i)=>{o(...i),a(...i)}:a&&(r[n]=a):n==="style"?r[n]={...a,...o}:n==="className"&&(r[n]=[a,o].filter(Boolean).join(" "))}return{...e,...r}}function Zh(e){var n,a;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(a=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:a.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var Bl,Ai,Uy,qy=T(()=>{ck(),Bl=l.forwardRef((e,t)=>{let{children:r,...n}=e,a=l.Children.toArray(r),o=a.find(Yh);if(o){let i=o.props.children,s=a.map(c=>c===o?l.Children.count(i)>1?l.Children.only(null):l.isValidElement(i)?i.props.children:null:c);return J.jsx(Ai,{...n,ref:t,children:l.isValidElement(i)?l.cloneElement(i,void 0,s):null})}return J.jsx(Ai,{...n,ref:t,children:r})}),Bl.displayName="Slot",Ai=l.forwardRef((e,t)=>{let{children:r,...n}=e;if(l.isValidElement(r)){let a=Zh(r);return l.cloneElement(r,{...Kh(n,r.props),ref:t?Vy(t,a):a})}return l.Children.count(r)>1?l.Children.only(null):null}),Ai.displayName="SlotClone",Uy=u(({children:e})=>J.jsx(J.Fragment,{children:e}),"Slottable"),u(Yh,"isSlottable"),u(Kh,"mergeProps"),u(Zh,"getElementRef")}),Jh,Nn,dk=T(()=>{qy(),Jh=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Nn=Jh.reduce((e,t)=>{let r=l.forwardRef((n,a)=>{let{asChild:o,...i}=n,s=o?Bl:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),J.jsx(s,{...i,ref:a})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{})});function Wy(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Gy(...e){return t=>e.forEach(r=>Wy(r,t))}function yr(...e){return l.useCallback(Gy(...e),e)}var Yy=T(()=>{u(Wy,"setRef"),u(Gy,"composeRefs"),u(yr,"useComposedRefs")}),Tl,Ky=T(()=>{Tl=globalThis!=null&&globalThis.document?l.useLayoutEffect:()=>{}});function Zy(e,t){return l.useReducer((r,n)=>t[r][n]??r,e)}function Xh(e){let[t,r]=l.useState(),n=l.useRef({}),a=l.useRef(e),o=l.useRef("none"),i=e?"mounted":"unmounted",[s,c]=Zy(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return l.useEffect(()=>{let d=io(n.current);o.current=s==="mounted"?d:"none"},[s]),Tl(()=>{let d=n.current,p=a.current;if(p!==e){let m=o.current,h=io(d);e?c("MOUNT"):h==="none"||(d==null?void 0:d.display)==="none"?c("UNMOUNT"):c(p&&m!==h?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,c]),Tl(()=>{if(t){let d=u(m=>{let h=io(n.current).includes(m.animationName);m.target===t&&h&&fs.flushSync(()=>c("ANIMATION_END"))},"handleAnimationEnd"),p=u(m=>{m.target===t&&(o.current=io(n.current))},"handleAnimationStart");return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:l.useCallback(d=>{d&&(n.current=getComputedStyle(d)),r(d)},[])}}function io(e){return(e==null?void 0:e.animationName)||"none"}function Qh(e){var n,a;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(a=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:a.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var Gn,pk=T(()=>{"use client";Yy(),Ky(),u(Zy,"useStateMachine"),Gn=u(e=>{let{present:t,children:r}=e,n=Xh(t),a=typeof r=="function"?r({present:n.isPresent}):l.Children.only(r),o=yr(n.ref,Qh(a));return typeof r=="function"||n.isPresent?l.cloneElement(a,{ref:o}):null},"Presence"),Gn.displayName="Presence",u(Xh,"usePresence"),u(io,"getAnimationName"),u(Qh,"getElementRef")});function Jy(e,t=[]){let r=[];function n(o,i){let s=l.createContext(i),c=r.length;r=[...r,i];function d(m){let{scope:h,children:f,...v}=m,g=(h==null?void 0:h[e][c])||s,w=l.useMemo(()=>v,Object.values(v));return J.jsx(g.Provider,{value:w,children:f})}u(d,"Provider");function p(m,h){let f=(h==null?void 0:h[e][c])||s,v=l.useContext(f);if(v)return v;if(i!==void 0)return i;throw new Error(`\`${m}\` must be used within \`${o}\``)}return u(p,"useContext2"),d.displayName=o+"Provider",[d,p]}u(n,"createContext3");let a=u(()=>{let o=r.map(i=>l.createContext(i));return u(function(i){let s=(i==null?void 0:i[e])||o;return l.useMemo(()=>({[`__scope${e}`]:{...i,[e]:s}}),[i,s])},"useScope")},"createScope");return a.scopeName=e,[n,Xy(a,...t)]}function Xy(...e){let t=e[0];if(e.length===1)return t;let r=u(()=>{let n=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return u(function(a){let o=n.reduce((i,{useScope:s,scopeName:c})=>{let d=s(a)[`__scope${c}`];return{...i,...d}},{});return l.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])},"useComposedScopes")},"createScope");return r.scopeName=t.scopeName,r}var fk=T(()=>{u(Jy,"createContextScope"),u(Xy,"composeContextScopes")});function Er(e){let t=l.useRef(e);return l.useEffect(()=>{t.current=e}),l.useMemo(()=>(...r)=>{var n;return(n=t.current)==null?void 0:n.call(t,...r)},[])}var hk=T(()=>{u(Er,"useCallbackRef")});function Qy(e){let t=l.useContext(eb);return e||t||"ltr"}var eb,mk=T(()=>{eb=l.createContext(void 0),u(Qy,"useDirection")});function tb(e,[t,r]){return Math.min(r,Math.max(t,e))}var gk=T(()=>{u(tb,"clamp")});function hr(e,t,{checkForDefaultPrevented:r=!0}={}){return u(function(n){if(e==null||e(n),r===!1||!n.defaultPrevented)return t==null?void 0:t(n)},"handleEvent")}var vk=T(()=>{u(hr,"composeEventHandlers")});function em(e,t){return l.useReducer((r,n)=>t[r][n]??r,e)}function ja(e){return e?parseInt(e,10):0}function ld(e,t){let r=e/t;return isNaN(r)?0:r}function Do(e){let t=ld(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,n=(e.scrollbar.size-r)*t;return Math.max(n,18)}function tm(e,t,r,n="ltr"){let a=Do(r),o=a/2,i=t||o,s=a-i,c=r.scrollbar.paddingStart+i,d=r.scrollbar.size-r.scrollbar.paddingEnd-s,p=r.content-r.viewport,m=n==="ltr"?[0,p]:[p*-1,0];return Cp([c,d],m)(e)}function Iu(e,t,r="ltr"){let n=Do(t),a=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,o=t.scrollbar.size-a,i=t.content-t.viewport,s=o-n,c=r==="ltr"?[0,i]:[i*-1,0],d=tb(e,c);return Cp([0,i],[0,s])(d)}function Cp(e,t){return r=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let n=(t[1]-t[0])/(e[1]-e[0]);return t[0]+n*(r-e[0])}}function Bu(e,t){return e>0&&e ()=>window.clearTimeout(n.current),[]),l.useCallback(()=>{window.clearTimeout(n.current),n.current=window.setTimeout(r,t)},[r,t])}function Hr(e,t){let r=Er(t);Tl(()=>{let n=0;if(e){let a=new ResizeObserver(()=>{cancelAnimationFrame(n),n=window.requestAnimationFrame(r)});return a.observe(e),()=>{window.cancelAnimationFrame(n),a.unobserve(e)}}},[e,r])}function rm(e,t){let{asChild:r,children:n}=e;if(!r)return typeof t=="function"?t(n):t;let a=l.Children.only(n);return l.cloneElement(a,{children:typeof t=="function"?t(a.props.children):t})}var Fi,Tu,yk,nm,je,zu,Lu,Ou,at,Mu,am,om,Pu,_i,im,lm,sm,$u,Nu,Ua,Hu,um,Ri,ju,cm,dm,rb,nb,ab,ob,ib,bk=T(()=>{"use client";dk(),pk(),fk(),Yy(),hk(),mk(),Ky(),gk(),vk(),u(em,"useStateMachine"),Fi="ScrollArea",[Tu,yk]=Jy(Fi),[nm,je]=Tu(Fi),zu=l.forwardRef((e,t)=>{let{__scopeScrollArea:r,type:n="hover",dir:a,scrollHideDelay:o=600,...i}=e,[s,c]=l.useState(null),[d,p]=l.useState(null),[m,h]=l.useState(null),[f,v]=l.useState(null),[g,w]=l.useState(null),[x,D]=l.useState(0),[E,b]=l.useState(0),[C,S]=l.useState(!1),[k,A]=l.useState(!1),_=yr(t,B=>c(B)),I=Qy(a);return J.jsx(nm,{scope:r,type:n,dir:I,scrollHideDelay:o,scrollArea:s,viewport:d,onViewportChange:p,content:m,onContentChange:h,scrollbarX:f,onScrollbarXChange:v,scrollbarXEnabled:C,onScrollbarXEnabledChange:S,scrollbarY:g,onScrollbarYChange:w,scrollbarYEnabled:k,onScrollbarYEnabledChange:A,onCornerWidthChange:D,onCornerHeightChange:b,children:J.jsx(Nn.div,{dir:I,...i,ref:_,style:{position:"relative","--radix-scroll-area-corner-width":x+"px","--radix-scroll-area-corner-height":E+"px",...e.style}})})}),zu.displayName=Fi,Lu="ScrollAreaViewport",Ou=l.forwardRef((e,t)=>{let{__scopeScrollArea:r,children:n,asChild:a,nonce:o,...i}=e,s=je(Lu,r),c=l.useRef(null),d=yr(t,c,s.onViewportChange);return J.jsxs(J.Fragment,{children:[J.jsx("style",{dangerouslySetInnerHTML:{__html:` [data-radix-scroll-area-viewport] { scrollbar-width: none; -ms-overflow-style: none; @@ -273,7 +273,7 @@ Expected it to be ${n}.`}function R5(e,t,r,n){let a=[e];for(;a.length>0;){let o= `,v)}return{formatted:f,cursorOffset:h,comments:p.comments}}function cl(e,t,r){return typeof t!="number"||Number.isNaN(t)||t<0||t>e.length?r:t}function Pd(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:a}=t;return r=cl(e,r,-1),n=cl(e,n,0),a=cl(e,a,e.length),{...t,cursorOffset:r,rangeStart:n,rangeEnd:a}}function ff(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:a,endOfLine:o}=Pd(e,t),i=e.charAt(0)===bf;if(i&&(e=e.slice(1),r--,n--,a--),o==="auto"&&(o=lw(e)),e.includes("\r")){let s=u(c=>tf(e.slice(0,Math.max(c,0)),`\r `),"s");r-=s(r),n-=s(n),a-=s(a),e=sw(e)}return{hasBOM:i,text:e,options:Pd(e,{...t,cursorOffset:r,rangeStart:n,rangeEnd:a,endOfLine:o})}}async function $d(e,t){let r=await uf(t);return!r.hasPragma||r.hasPragma(e)}async function Nd(e,t){let{hasBOM:r,text:n,options:a}=ff(e,await bn(t));if(a.rangeStart>=a.rangeEnd&&n!==""||a.requirePragma&&!await $d(n,a))return{formatted:e,cursorOffset:t.cursorOffset,comments:[]};let o;return a.rangeStart>0||a.rangeEnd =0&&o.cursorOffset++),o}async function m2(e,t,r){let{text:n,options:a}=ff(e,await bn(t)),o=await Ba(n,a);return r&&(r.preprocessForPrint&&(o.ast=await df(o.ast,a)),r.massage&&(o.ast=w6(o.ast,a))),o}async function g2(e,t){t=await bn(t);let r=await ui(e,t);return jo(r,t)}async function v2(e,t){let r=uw(e),{formatted:n}=await Nd(r,{...t,parser:"__js_expression"});return n}async function y2(e,t){t=await bn(t);let{ast:r}=await Ba(e,t);return ui(r,t)}async function b2(e,t){return jo(e,await bn(t))}function w2(e,t){if(t===!1)return!1;if(e.charAt(t)==="/"&&e.charAt(t+1)==="*"){for(let r=t+2;r Math.max(n,a.length/t.length),0)}function k2(e,t){let r=Ys(e,t);return r===!1?"":e.charAt(r)}function A2(e,t,r){for(let n=t;n i===n?i:s===t?"\\"+s:s||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/u.test(i)?i:"\\"+i));return t+a+t}function Ww(e,t,r){return Ys(e,r(t))}function R2(e,t){return arguments.length===2||typeof t=="number"?Ys(e,t):Ww(...arguments)}function Gw(e,t,r){return Gs(e,r(t))}function I2(e,t){return arguments.length===2||typeof t=="number"?Gs(e,t):Gw(...arguments)}function Yw(e,t,r){return as(e,r(t))}function B2(e,t){return arguments.length===2||typeof t=="number"?as(e,t):Yw(...arguments)}function dr(e,t=1){return async(...r)=>{let n=r[t]??{},a=n.plugins??[];return r[t]={...n,plugins:Array.isArray(a)?a:Object.values(a)},e(...r)}}async function Hd(e,t){let{formatted:r}=await r1(e,{...t,cursorOffset:-1});return r}async function T2(e,t){return await Hd(e,t)===e}var z2,Ja,L2,O2,M2,P2,n0,$2,Ui,Xa,a0,Qa,N2,H2,j2,Bn,qi,o0,V2,U2,q2,W2,G2,i0,Y2,ci,l0,s0,u0,c0,K2,Z2,Kw,Tn,mo,Br,jt,xr,Vt,Ut,Pt,Le,ft,Pe,qt,Wt,$t,Ee,ht,qe,hf,Tr,Zw,d0,J2,dn,jd,Jl,p0,mt,Ws,X2,go,Q2,dl,f0,Vd,ev,Dr,Ud,Xl,tv,ge,Jw,Xw,Qw,Ql,Be,it,ea,es,Wr,h0,Wi,m0,rv,e6,g0,ts,t6,nv,lr,qd,Wd,_r,ar,r6,Gd,n6,di,pl,fl,mf,Gs,a6,v0,gf,y0,Yd,o6,i6,l6,Gr,b0,av,rn,Kd,eo,Zd,ov,w0,hl,Jd,Xd,s6,E0,tr,x0,u6,D0,c6,C0,d6,S0,p6,k0,f6,A0,iv,F0,h6,_0,Qd,lv,sv,uv,cv,R0,m6,I0,g6,dv,vf,e1,bn,v6,Ba,y6,b6,w6,pv,E6,x6,yf,D6,bf,t1,B0,fv,hv,mv,gv,T0,rs,ns,Ys,as,vv,yv,bv,wv,Ev,xv,r1,Dv,Cv,C6,xk=T(()=>{z2=Object.create,Ja=Object.defineProperty,L2=Object.getOwnPropertyDescriptor,O2=Object.getOwnPropertyNames,M2=Object.getPrototypeOf,P2=Object.prototype.hasOwnProperty,n0=u(e=>{throw TypeError(e)},"sr"),$2=u((e,t)=>()=>(e&&(t=e(e=0)),t),"_u"),Ui=u((e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),"At"),Xa=u((e,t)=>{for(var r in t)Ja(e,r,{get:t[r],enumerable:!0})},"We"),a0=u((e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of O2(t))!P2.call(e,a)&&a!==r&&Ja(e,a,{get:u(()=>t[a],"get"),enumerable:!(n=L2(t,a))||n.enumerable});return e},"ar"),Qa=u((e,t,r)=>(r=e!=null?z2(M2(e)):{},a0(t||!e||!e.__esModule?Ja(r,"default",{value:e,enumerable:!0}):r,e)),"Me"),N2=u(e=>a0(Ja({},"__esModule",{value:!0}),e),"vu"),H2=u((e,t,r)=>t.has(e)||n0("Cannot "+r),"bu"),j2=u((e,t,r)=>t.has(e)?n0("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),"Dr"),Bn=u((e,t,r)=>(H2(e,t,"access private method"),r),"pe"),qi=Ui((e,t)=>{var r=new Proxy(String,{get:u(()=>r,"get")});t.exports=r}),o0={},Xa(o0,{default:u(()=>U2,"default"),shouldHighlight:u(()=>V2,"shouldHighlight")}),q2=$2(()=>{V2=u(()=>!1,"xo"),U2=String}),W2=Ui((e,t)=>{var r=String,n=u(function(){return{isColorSupported:!1,reset:r,bold:r,dim:r,italic:r,underline:r,inverse:r,hidden:r,strikethrough:r,black:r,red:r,green:r,yellow:r,blue:r,magenta:r,cyan:r,white:r,gray:r,bgBlack:r,bgRed:r,bgGreen:r,bgYellow:r,bgBlue:r,bgMagenta:r,bgCyan:r,bgWhite:r}},"Ln");t.exports=n(),t.exports.createColors=n}),G2=Ui(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.codeFrameColumns=f,e.default=v;var t=(q2(),N2(o0)),r=a(W2(),!0);function n(g){if(typeof WeakMap!="function")return null;var w=new WeakMap,x=new WeakMap;return(n=u(function(D){return D?x:w},"Wn"))(g)}u(n,"Wn");function a(g,w){if(!w&&g&&g.__esModule)return g;if(g===null||typeof g!="object"&&typeof g!="function")return{default:g};var x=n(w);if(x&&x.has(g))return x.get(g);var D={__proto__:null},E=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var b in g)if(b!=="default"&&{}.hasOwnProperty.call(g,b)){var C=E?Object.getOwnPropertyDescriptor(g,b):null;C&&(C.get||C.set)?Object.defineProperty(D,b,C):D[b]=g[b]}return D.default=g,x&&x.set(g,D),D}u(a,"vo");var o=r.default,i=u((g,w)=>x=>g(w(x)),"Rn"),s;function c(g){return g?(s!=null||(s=(0,r.createColors)(!0)),s):o}u(c,"Oo");var d=!1;function p(g){return{gutter:g.gray,marker:i(g.red,g.bold),message:i(g.red,g.bold)}}u(p,"So");var m=/\r\n|[\n\r\u2028\u2029]/;function h(g,w,x){let D=Object.assign({column:0,line:-1},g.start),E=Object.assign({},D,g.end),{linesAbove:b=2,linesBelow:C=3}=x||{},S=D.line,k=D.column,A=E.line,_=E.column,I=Math.max(S-(b+1),0),B=Math.min(w.length,A+C);S===-1&&(I=0),A===-1&&(B=w.length);let z=A-S,L={};if(z)for(let M=0;M<=z;M++){let O=M+S;if(!k)L[O]=!0;else if(M===0){let P=w[O-1].length;L[O]=[k,P-k+1]}else if(M===z)L[O]=[0,_];else{let P=w[O-M].length;L[O]=[0,P]}}else k===_?k?L[S]=[k,0]:L[S]=!0:L[S]=[k,_-k];return{start:I,end:B,markerLines:L}}u(h,"No");function f(g,w,x={}){let D=(x.highlightCode||x.forceColor)&&(0,t.shouldHighlight)(x),E=c(x.forceColor),b=p(E),C=u((L,M)=>D?L(M):M,"i"),S=g.split(m),{start:k,end:A,markerLines:_}=h(w,S,x),I=w.start&&typeof w.start.column=="number",B=String(A).length,z=(D?(0,t.default)(g,x):g).split(m,A).slice(k,A).map((L,M)=>{let O=k+1+M,P=` ${` ${O}`.slice(-B)} |`,H=_[O],U=!_[O+1];if(H){let V="";if(Array.isArray(H)){let G=L.slice(0,Math.max(H[0]-1,0)).replace(/[^\t]/g," "),Q=H[1]||1;V=[` +`)return!0;return!1}function F2(e,t,r={}){return lr(e,r.backwards?t-1:t,r)!==t}function _2(e,t,r){let n=t==='"'?"'":'"',a=ci(!1,e,/\\(.)|(["'])/gsu,(o,i,s)=>i===n?i:s===t?"\\"+s:s||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/u.test(i)?i:"\\"+i));return t+a+t}function Ww(e,t,r){return Ys(e,r(t))}function R2(e,t){return arguments.length===2||typeof t=="number"?Ys(e,t):Ww(...arguments)}function Gw(e,t,r){return Gs(e,r(t))}function I2(e,t){return arguments.length===2||typeof t=="number"?Gs(e,t):Gw(...arguments)}function Yw(e,t,r){return as(e,r(t))}function B2(e,t){return arguments.length===2||typeof t=="number"?as(e,t):Yw(...arguments)}function dr(e,t=1){return async(...r)=>{let n=r[t]??{},a=n.plugins??[];return r[t]={...n,plugins:Array.isArray(a)?a:Object.values(a)},e(...r)}}async function Hd(e,t){let{formatted:r}=await r1(e,{...t,cursorOffset:-1});return r}async function T2(e,t){return await Hd(e,t)===e}var z2,Ja,L2,O2,M2,P2,n0,$2,Ui,Xa,a0,Qa,N2,H2,j2,Bn,qi,o0,V2,U2,q2,W2,G2,i0,Y2,ci,l0,s0,u0,c0,K2,Z2,Kw,Tn,mo,Br,jt,xr,Vt,Ut,Pt,Le,ft,Pe,qt,Wt,$t,Ee,ht,qe,hf,Tr,Zw,d0,J2,dn,jd,Jl,p0,mt,Ws,X2,go,Q2,dl,f0,Vd,ev,Dr,Ud,Xl,tv,ge,Jw,Xw,Qw,Ql,Be,it,ea,es,Wr,h0,Wi,m0,rv,e6,g0,ts,t6,nv,lr,qd,Wd,_r,ar,r6,Gd,n6,di,pl,fl,mf,Gs,a6,v0,gf,y0,Yd,o6,i6,l6,Gr,b0,av,rn,Kd,eo,Zd,ov,w0,hl,Jd,Xd,s6,E0,tr,x0,u6,D0,c6,C0,d6,S0,p6,k0,f6,A0,iv,F0,h6,_0,Qd,lv,sv,uv,cv,R0,m6,I0,g6,dv,vf,e1,bn,v6,Ba,y6,b6,w6,pv,E6,x6,yf,D6,bf,t1,B0,fv,hv,mv,gv,T0,rs,ns,Ys,as,vv,yv,bv,wv,Ev,xv,r1,Dv,Cv,C6,xk=T(()=>{z2=Object.create,Ja=Object.defineProperty,L2=Object.getOwnPropertyDescriptor,O2=Object.getOwnPropertyNames,M2=Object.getPrototypeOf,P2=Object.prototype.hasOwnProperty,n0=u(e=>{throw TypeError(e)},"sr"),$2=u((e,t)=>()=>(e&&(t=e(e=0)),t),"_u"),Ui=u((e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),"At"),Xa=u((e,t)=>{for(var r in t)Ja(e,r,{get:t[r],enumerable:!0})},"We"),a0=u((e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of O2(t))!P2.call(e,a)&&a!==r&&Ja(e,a,{get:u(()=>t[a],"get"),enumerable:!(n=L2(t,a))||n.enumerable});return e},"ar"),Qa=u((e,t,r)=>(r=e!=null?z2(M2(e)):{},a0(t||!e||!e.__esModule?Ja(r,"default",{value:e,enumerable:!0}):r,e)),"Me"),N2=u(e=>a0(Ja({},"__esModule",{value:!0}),e),"vu"),H2=u((e,t,r)=>t.has(e)||n0("Cannot "+r),"bu"),j2=u((e,t,r)=>t.has(e)?n0("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),"Dr"),Bn=u((e,t,r)=>(H2(e,t,"access private method"),r),"pe"),qi=Ui((e,t)=>{var r=new Proxy(String,{get:u(()=>r,"get")});t.exports=r}),o0={},Xa(o0,{default:u(()=>U2,"default"),shouldHighlight:u(()=>V2,"shouldHighlight")}),q2=$2(()=>{V2=u(()=>!1,"xo"),U2=String}),W2=Ui((e,t)=>{var r=String,n=u(function(){return{isColorSupported:!1,reset:r,bold:r,dim:r,italic:r,underline:r,inverse:r,hidden:r,strikethrough:r,black:r,red:r,green:r,yellow:r,blue:r,magenta:r,cyan:r,white:r,gray:r,bgBlack:r,bgRed:r,bgGreen:r,bgYellow:r,bgBlue:r,bgMagenta:r,bgCyan:r,bgWhite:r}},"Ln");t.exports=n(),t.exports.createColors=n}),G2=Ui(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.codeFrameColumns=f,e.default=v;var t=(q2(),N2(o0)),r=a(W2(),!0);function n(g){if(typeof WeakMap!="function")return null;var w=new WeakMap,x=new WeakMap;return(n=u(function(D){return D?x:w},"Wn"))(g)}u(n,"Wn");function a(g,w){if(!w&&g&&g.__esModule)return g;if(g===null||typeof g!="object"&&typeof g!="function")return{default:g};var x=n(w);if(x&&x.has(g))return x.get(g);var D={__proto__:null},E=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var b in g)if(b!=="default"&&{}.hasOwnProperty.call(g,b)){var C=E?Object.getOwnPropertyDescriptor(g,b):null;C&&(C.get||C.set)?Object.defineProperty(D,b,C):D[b]=g[b]}return D.default=g,x&&x.set(g,D),D}u(a,"vo");var o=r.default,i=u((g,w)=>x=>g(w(x)),"Rn"),s;function c(g){return g?(s!=null||(s=(0,r.createColors)(!0)),s):o}u(c,"Oo");var d=!1;function p(g){return{gutter:g.gray,marker:i(g.red,g.bold),message:i(g.red,g.bold)}}u(p,"So");var m=/\r\n|[\n\r\u2028\u2029]/;function h(g,w,x){let D=Object.assign({column:0,line:-1},g.start),E=Object.assign({},D,g.end),{linesAbove:b=2,linesBelow:C=3}=x||{},S=D.line,k=D.column,A=E.line,_=E.column,I=Math.max(S-(b+1),0),B=Math.min(w.length,A+C);S===-1&&(I=0),A===-1&&(B=w.length);let z=A-S,L={};if(z)for(let M=0;M<=z;M++){let O=M+S;if(!k)L[O]=!0;else if(M===0){let P=w[O-1].length;L[O]=[k,P-k+1]}else if(M===z)L[O]=[0,_];else{let P=w[O-M].length;L[O]=[0,P]}}else k===_?k?L[S]=[k,0]:L[S]=!0:L[S]=[k,_-k];return{start:I,end:B,markerLines:L}}u(h,"No");function f(g,w,x={}){let D=(x.highlightCode||x.forceColor)&&(0,t.shouldHighlight)(x),E=c(x.forceColor),b=p(E),C=u((L,M)=>D?L(M):M,"i"),S=g.split(m),{start:k,end:A,markerLines:_}=h(w,S,x),I=w.start&&typeof w.start.column=="number",B=String(A).length,z=(D?(0,t.default)(g,x):g).split(m,A).slice(k,A).map((L,M)=>{let O=k+1+M,P=` ${` ${O}`.slice(-B)} |`,j=_[O],U=!_[O+1];if(j){let V="";if(Array.isArray(j)){let G=L.slice(0,Math.max(j[0]-1,0)).replace(/[^\t]/g," "),Q=j[1]||1;V=[` `,C(b.gutter,P.replace(/\d/g," "))," ",G,C(b.marker,"^").repeat(Q)].join(""),U&&x.message&&(V+=" "+C(b.message,x.message))}return[C(b.marker,">"),C(b.gutter,P),L.length>0?` ${L}`:"",V].join("")}else return` ${C(b.gutter,P)}${L.length>0?` ${L}`:""}`}).join(` `);return x.message&&!I&&(z=`${" ".repeat(B+1)}${x.message} ${z}`),D?E.reset(z):z}u(f,"Mn");function v(g,w,x,D={}){if(!d){d=!0;let E="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";{let b=new Error(E);b.name="DeprecationWarning",console.warn(new Error(E))}}return x=Math.max(x,0),f(g,{start:{column:x,line:w}},D)}u(v,"To")}),i0={},Xa(i0,{__debug:u(()=>Cv,"__debug"),check:u(()=>T2,"check"),doc:u(()=>B0,"doc"),format:u(()=>Hd,"format"),formatWithCursor:u(()=>r1,"formatWithCursor"),getSupportInfo:u(()=>Dv,"getSupportInfo"),util:u(()=>T0,"util"),version:u(()=>gv,"version")}),Y2=u((e,t,r,n)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(r,n):r.global?t.replace(r,n):t.split(r).join(n)},"Ou"),ci=Y2,u(Xt,"Z"),Xt.prototype={diff:u(function(e,t){var r,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=n.callback;typeof n=="function"&&(a=n,n={}),this.options=n;var o=this;function i(E){return a?(setTimeout(function(){a(void 0,E)},0),!0):E}u(i,"s"),e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e)),t=this.removeEmpty(this.tokenize(t));var s=t.length,c=e.length,d=1,p=s+c;n.maxEditLength&&(p=Math.min(p,n.maxEditLength));var m=(r=n.timeout)!==null&&r!==void 0?r:1/0,h=Date.now()+m,f=[{oldPos:-1,lastComponent:void 0}],v=this.extractCommon(f[0],t,e,0);if(f[0].oldPos+1>=c&&v+1>=s)return i([{value:this.join(t),count:t.length}]);var g=-1/0,w=1/0;function x(){for(var E=Math.max(g,-d);E<=Math.min(w,d);E+=2){var b=void 0,C=f[E-1],S=f[E+1];C&&(f[E-1]=void 0);var k=!1;if(S){var A=S.oldPos-E;k=S&&0<=A&&A =c&&v+1>=s)return i(A5(o,b.lastComponent,t,e,o.useLongestToken));f[E]=b,b.oldPos+1>=c&&(w=Math.min(w,E-1)),v+1>=s&&(g=Math.max(g,E+1))}d++}if(u(x,"A"),a)u(function E(){setTimeout(function(){if(d>p||Date.now()>h)return a();x()||E()},0)},"h")();else for(;d<=p&&Date.now()<=h;){var D=x();if(D)return D}},"diff"),addToPath:u(function(e,t,r,n){var a=e.lastComponent;return a&&a.added===t&&a.removed===r?{oldPos:e.oldPos+n,lastComponent:{count:a.count+1,added:t,removed:r,previousComponent:a.previousComponent}}:{oldPos:e.oldPos+n,lastComponent:{count:1,added:t,removed:r,previousComponent:a}}},"addToPath"),extractCommon:u(function(e,t,r,n){for(var a=t.length,o=r.length,i=e.oldPos,s=i-n,c=0;s+1{u(S6,"dedent")}),k6={};Fa(k6,{formatter:()=>A6});var Sv,A6,Ck=T(()=>{Sv=De(ks(),1),Ek(),xk(),Dk(),A6=(0,Sv.default)(2)(async(e,t)=>e===!1?t:e==="dedent"||e===!0?S6(t):(await C6.format(t,{parser:e,plugins:[ow],htmlWhitespaceSensitivity:"ignore"})).trim())}),n1,a1,Sk=T(()=>{n1=u(function(e){return e.reduce(function(t,r){var n=r[0],a=r[1];return t[n]=a,t},{})},"fromEntries"),a1=typeof window<"u"&&window.document&&window.document.createElement?l.useLayoutEffect:l.useEffect}),Te,Ge,Ye,ze,os,ta,on,ra,F6,wf,qn,_6,o1,Ef,kv,Av,Fv,_v,Rv,Iv,Bv,Tv,zv,R6,Xe=T(()=>{Te="top",Ge="bottom",Ye="right",ze="left",os="auto",ta=[Te,Ge,Ye,ze],on="start",ra="end",F6="clippingParents",wf="viewport",qn="popper",_6="reference",o1=ta.reduce(function(e,t){return e.concat([t+"-"+on,t+"-"+ra])},[]),Ef=[].concat(ta,[os]).reduce(function(e,t){return e.concat([t,t+"-"+on,t+"-"+ra])},[]),kv="beforeRead",Av="read",Fv="afterRead",_v="beforeMain",Rv="main",Iv="afterMain",Bv="beforeWrite",Tv="write",zv="afterWrite",R6=[kv,Av,Fv,_v,Rv,Iv,Bv,Tv,zv]});function gt(e){return e?(e.nodeName||"").toLowerCase():null}var wn=T(()=>{u(gt,"getNodeName")});function Ne(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}var Yt=T(()=>{u(Ne,"getWindow")});function Rr(e){var t=Ne(e).Element;return e instanceof t||e instanceof Element}function We(e){var t=Ne(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Ks(e){if(typeof ShadowRoot>"u")return!1;var t=Ne(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var Qe=T(()=>{Yt(),u(Rr,"isElement"),u(We,"isHTMLElement"),u(Ks,"isShadowRoot")});function Lv(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},a=t.attributes[r]||{},o=t.elements[r];!We(o)||!gt(o)||(Object.assign(o.style,n),Object.keys(a).forEach(function(i){var s=a[i];s===!1?o.removeAttribute(i):o.setAttribute(i,s===!0?"":s)}))})}function Ov(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var a=t.elements[n],o=t.attributes[n]||{},i=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),s=i.reduce(function(c,d){return c[d]="",c},{});!We(a)||!gt(a)||(Object.assign(a.style,s),Object.keys(o).forEach(function(c){a.removeAttribute(c)}))})}}var I6,kk=T(()=>{wn(),Qe(),u(Lv,"applyStyles"),u(Ov,"effect"),I6={name:"applyStyles",enabled:!0,phase:"write",fn:Lv,effect:Ov,requires:["computeStyles"]}});function pt(e){return e.split("-")[0]}var En=T(()=>{u(pt,"getBasePlacement")}),Cr,Vo,pn,xn=T(()=>{Cr=Math.max,Vo=Math.min,pn=Math.round});function is(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}var B6=T(()=>{u(is,"getUAString")});function xf(){return!/^((?!chrome|android).)*safari/i.test(is())}var T6=T(()=>{B6(),u(xf,"isLayoutViewport")});function fn(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),a=1,o=1;t&&We(e)&&(a=e.offsetWidth>0&&pn(n.width)/e.offsetWidth||1,o=e.offsetHeight>0&&pn(n.height)/e.offsetHeight||1);var i=Rr(e)?Ne(e):window,s=i.visualViewport,c=!xf()&&r,d=(n.left+(c&&s?s.offsetLeft:0))/a,p=(n.top+(c&&s?s.offsetTop:0))/o,m=n.width/a,h=n.height/o;return{width:m,height:h,top:p,right:d+m,bottom:p+h,left:d,x:d,y:p}}var pi=T(()=>{Qe(),xn(),Yt(),T6(),u(fn,"getBoundingClientRect")});function Zs(e){var t=fn(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}var Df=T(()=>{pi(),u(Zs,"getLayoutRect")});function Cf(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&Ks(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}var z6=T(()=>{Qe(),u(Cf,"contains")});function Gt(e){return Ne(e).getComputedStyle(e)}var fi=T(()=>{Yt(),u(Gt,"getComputedStyle")});function L6(e){return["table","td","th"].indexOf(gt(e))>=0}var Ak=T(()=>{wn(),u(L6,"isTableElement")});function cr(e){return((Rr(e)?e.ownerDocument:e.document)||window.document).documentElement}var zr=T(()=>{Qe(),u(cr,"getDocumentElement")});function hi(e){return gt(e)==="html"?e:e.assignedSlot||e.parentNode||(Ks(e)?e.host:null)||cr(e)}var Js=T(()=>{wn(),zr(),Qe(),u(hi,"getParentNode")});function i1(e){return!We(e)||Gt(e).position==="fixed"?null:e.offsetParent}function O6(e){var t=/firefox/i.test(is()),r=/Trident/i.test(is());if(r&&We(e)){var n=Gt(e);if(n.position==="fixed")return null}var a=hi(e);for(Ks(a)&&(a=a.host);We(a)&&["html","body"].indexOf(gt(a))<0;){var o=Gt(a);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return a;a=a.parentNode}return null}function Ta(e){for(var t=Ne(e),r=i1(e);r&&L6(r)&&Gt(r).position==="static";)r=i1(r);return r&&(gt(r)==="html"||gt(r)==="body"&&Gt(r).position==="static")?t:r||O6(e)||t}var mi=T(()=>{Yt(),wn(),fi(),Qe(),Ak(),Js(),B6(),u(i1,"getTrueOffsetParent"),u(O6,"getContainingBlock"),u(Ta,"getOffsetParent")});function Xs(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}var Sf=T(()=>{u(Xs,"getMainAxisFromPlacement")});function na(e,t,r){return Cr(e,Vo(t,r))}function M6(e,t,r){var n=na(e,t,r);return n>r?r:n}var P6=T(()=>{xn(),u(na,"within"),u(M6,"withinMaxClamp")});function kf(){return{top:0,right:0,bottom:0,left:0}}var $6=T(()=>{u(kf,"getFreshSideObject")});function Af(e){return Object.assign({},kf(),e)}var N6=T(()=>{$6(),u(Af,"mergePaddingObject")});function Ff(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var H6=T(()=>{u(Ff,"expandToHashMap")});function Mv(e){var t,r=e.state,n=e.name,a=e.options,o=r.elements.arrow,i=r.modifiersData.popperOffsets,s=pt(r.placement),c=Xs(s),d=[ze,Ye].indexOf(s)>=0,p=d?"height":"width";if(!(!o||!i)){var m=j6(a.padding,r),h=Zs(o),f=c==="y"?Te:ze,v=c==="y"?Ge:Ye,g=r.rects.reference[p]+r.rects.reference[c]-i[c]-r.rects.popper[p],w=i[c]-r.rects.reference[c],x=Ta(o),D=x?c==="y"?x.clientHeight||0:x.clientWidth||0:0,E=g/2-w/2,b=m[f],C=D-h[p]-m[v],S=D/2-h[p]/2+E,k=na(b,S,C),A=c;r.modifiersData[n]=(t={},t[A]=k,t.centerOffset=k-S,t)}}function Pv(e){var t=e.state,r=e.options,n=r.element,a=n===void 0?"[data-popper-arrow]":n;a!=null&&(typeof a=="string"&&(a=t.elements.popper.querySelector(a),!a)||Cf(t.elements.popper,a)&&(t.elements.arrow=a))}var j6,V6,Fk=T(()=>{En(),Df(),z6(),mi(),Sf(),P6(),N6(),H6(),Xe(),j6=u(function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,Af(typeof e!="number"?e:Ff(e,ta))},"toPaddingObject"),u(Mv,"arrow"),u(Pv,"effect"),V6={name:"arrow",enabled:!0,phase:"main",fn:Mv,effect:Pv,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}});function hn(e){return e.split("-")[1]}var gi=T(()=>{u(hn,"getVariation")});function U6(e,t){var r=e.x,n=e.y,a=t.devicePixelRatio||1;return{x:pn(r*a)/a||0,y:pn(n*a)/a||0}}function l1(e){var t,r=e.popper,n=e.popperRect,a=e.placement,o=e.variation,i=e.offsets,s=e.position,c=e.gpuAcceleration,d=e.adaptive,p=e.roundOffsets,m=e.isFixed,h=i.x,f=h===void 0?0:h,v=i.y,g=v===void 0?0:v,w=typeof p=="function"?p({x:f,y:g}):{x:f,y:g};f=w.x,g=w.y;var x=i.hasOwnProperty("x"),D=i.hasOwnProperty("y"),E=ze,b=Te,C=window;if(d){var S=Ta(r),k="clientHeight",A="clientWidth";if(S===Ne(r)&&(S=cr(r),Gt(S).position!=="static"&&s==="absolute"&&(k="scrollHeight",A="scrollWidth")),S=S,a===Te||(a===ze||a===Ye)&&o===ra){b=Ge;var _=m&&S===C&&C.visualViewport?C.visualViewport.height:S[k];g-=_-n.height,g*=c?1:-1}if(a===ze||(a===Te||a===Ge)&&o===ra){E=Ye;var I=m&&S===C&&C.visualViewport?C.visualViewport.width:S[A];f-=I-n.width,f*=c?1:-1}}var B=Object.assign({position:s},d&&q6),z=p===!0?U6({x:f,y:g},Ne(r)):{x:f,y:g};if(f=z.x,g=z.y,c){var L;return Object.assign({},B,(L={},L[b]=D?"0":"",L[E]=x?"0":"",L.transform=(C.devicePixelRatio||1)<=1?"translate("+f+"px, "+g+"px)":"translate3d("+f+"px, "+g+"px, 0)",L))}return Object.assign({},B,(t={},t[b]=D?g+"px":"",t[E]=x?f+"px":"",t.transform="",t))}function $v(e){var t=e.state,r=e.options,n=r.gpuAcceleration,a=n===void 0?!0:n,o=r.adaptive,i=o===void 0?!0:o,s=r.roundOffsets,c=s===void 0?!0:s,d={placement:pt(t.placement),variation:hn(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,l1(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,l1(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var q6,W6,_k=T(()=>{Xe(),mi(),Yt(),zr(),fi(),En(),gi(),xn(),q6={top:"auto",right:"auto",bottom:"auto",left:"auto"},u(U6,"roundOffsetsByDPR"),u(l1,"mapToStyles"),u($v,"computeStyles"),W6={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:$v,data:{}}});function Nv(e){var t=e.state,r=e.instance,n=e.options,a=n.scroll,o=a===void 0?!0:a,i=n.resize,s=i===void 0?!0:i,c=Ne(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&d.forEach(function(p){p.addEventListener("scroll",r.update,vo)}),s&&c.addEventListener("resize",r.update,vo),function(){o&&d.forEach(function(p){p.removeEventListener("scroll",r.update,vo)}),s&&c.removeEventListener("resize",r.update,vo)}}var vo,G6,Rk=T(()=>{Yt(),vo={passive:!0},u(Nv,"effect"),G6={name:"eventListeners",enabled:!0,phase:"write",fn:u(function(){},"fn"),effect:Nv,data:{}}});function Io(e){return e.replace(/left|right|bottom|top/g,function(t){return Y6[t]})}var Y6,Ik=T(()=>{Y6={left:"right",right:"left",bottom:"top",top:"bottom"},u(Io,"getOppositePlacement")});function s1(e){return e.replace(/start|end/g,function(t){return K6[t]})}var K6,Bk=T(()=>{K6={start:"end",end:"start"},u(s1,"getOppositeVariationPlacement")});function Qs(e){var t=Ne(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}var _f=T(()=>{Yt(),u(Qs,"getWindowScroll")});function eu(e){return fn(cr(e)).left+Qs(e).scrollLeft}var Rf=T(()=>{pi(),zr(),_f(),u(eu,"getWindowScrollBarX")});function Z6(e,t){var r=Ne(e),n=cr(e),a=r.visualViewport,o=n.clientWidth,i=n.clientHeight,s=0,c=0;if(a){o=a.width,i=a.height;var d=xf();(d||!d&&t==="fixed")&&(s=a.offsetLeft,c=a.offsetTop)}return{width:o,height:i,x:s+eu(e),y:c}}var Tk=T(()=>{Yt(),zr(),Rf(),T6(),u(Z6,"getViewportRect")});function J6(e){var t,r=cr(e),n=Qs(e),a=(t=e.ownerDocument)==null?void 0:t.body,o=Cr(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),i=Cr(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),s=-n.scrollLeft+eu(e),c=-n.scrollTop;return Gt(a||r).direction==="rtl"&&(s+=Cr(r.clientWidth,a?a.clientWidth:0)-o),{width:o,height:i,x:s,y:c}}var zk=T(()=>{zr(),fi(),Rf(),_f(),xn(),u(J6,"getDocumentRect")});function tu(e){var t=Gt(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}var If=T(()=>{fi(),u(tu,"isScrollParent")});function Bf(e){return["html","body","#document"].indexOf(gt(e))>=0?e.ownerDocument.body:We(e)&&tu(e)?e:Bf(hi(e))}var Lk=T(()=>{Js(),If(),wn(),Qe(),u(Bf,"getScrollParent")});function aa(e,t){var r;t===void 0&&(t=[]);var n=Bf(e),a=n===((r=e.ownerDocument)==null?void 0:r.body),o=Ne(n),i=a?[o].concat(o.visualViewport||[],tu(n)?n:[]):n,s=t.concat(i);return a?s:s.concat(aa(hi(i)))}var X6=T(()=>{Lk(),Js(),Yt(),If(),u(aa,"listScrollParents")});function ls(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}var Q6=T(()=>{u(ls,"rectToClientRect")});function e8(e,t){var r=fn(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function u1(e,t,r){return t===wf?ls(Z6(e,r)):Rr(t)?e8(t,r):ls(J6(cr(e)))}function t8(e){var t=aa(hi(e)),r=["absolute","fixed"].indexOf(Gt(e).position)>=0,n=r&&We(e)?Ta(e):e;return Rr(n)?t.filter(function(a){return Rr(a)&&Cf(a,n)&>(a)!=="body"}):[]}function r8(e,t,r,n){var a=t==="clippingParents"?t8(e):[].concat(t),o=[].concat(a,[r]),i=o[0],s=o.reduce(function(c,d){var p=u1(e,d,n);return c.top=Cr(p.top,c.top),c.right=Vo(p.right,c.right),c.bottom=Vo(p.bottom,c.bottom),c.left=Cr(p.left,c.left),c},u1(e,i,n));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}var Ok=T(()=>{Xe(),Tk(),zk(),X6(),mi(),zr(),fi(),Qe(),pi(),Js(),z6(),wn(),Q6(),xn(),u(e8,"getInnerBoundingClientRect"),u(u1,"getClientRectFromMixedType"),u(t8,"getClippingParents"),u(r8,"getClippingRect")});function Tf(e){var t=e.reference,r=e.element,n=e.placement,a=n?pt(n):null,o=n?hn(n):null,i=t.x+t.width/2-r.width/2,s=t.y+t.height/2-r.height/2,c;switch(a){case Te:c={x:i,y:t.y-r.height};break;case Ge:c={x:i,y:t.y+t.height};break;case Ye:c={x:t.x+t.width,y:s};break;case ze:c={x:t.x-r.width,y:s};break;default:c={x:t.x,y:t.y}}var d=a?Xs(a):null;if(d!=null){var p=d==="y"?"height":"width";switch(o){case on:c[d]=c[d]-(t[p]/2-r[p]/2);break;case ra:c[d]=c[d]+(t[p]/2-r[p]/2);break}}return c}var n8=T(()=>{En(),gi(),Sf(),Xe(),u(Tf,"computeOffsets")});function wa(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=n===void 0?e.placement:n,o=r.strategy,i=o===void 0?e.strategy:o,s=r.boundary,c=s===void 0?F6:s,d=r.rootBoundary,p=d===void 0?wf:d,m=r.elementContext,h=m===void 0?qn:m,f=r.altBoundary,v=f===void 0?!1:f,g=r.padding,w=g===void 0?0:g,x=Af(typeof w!="number"?w:Ff(w,ta)),D=h===qn?_6:qn,E=e.rects.popper,b=e.elements[v?D:h],C=r8(Rr(b)?b:b.contextElement||cr(e.elements.popper),c,p,i),S=fn(e.elements.reference),k=Tf({reference:S,element:E,placement:a}),A=ls(Object.assign({},E,k)),_=h===qn?A:S,I={top:C.top-_.top+x.top,bottom:_.bottom-C.bottom+x.bottom,left:C.left-_.left+x.left,right:_.right-C.right+x.right},B=e.modifiersData.offset;if(h===qn&&B){var z=B[a];Object.keys(I).forEach(function(L){var M=[Ye,Ge].indexOf(L)>=0?1:-1,O=[Te,Ge].indexOf(L)>=0?"y":"x";I[L]+=z[O]*M})}return I}var ru=T(()=>{Ok(),zr(),pi(),n8(),Q6(),Xe(),Qe(),N6(),H6(),u(wa,"detectOverflow")});function a8(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=r.boundary,o=r.rootBoundary,i=r.padding,s=r.flipVariations,c=r.allowedAutoPlacements,d=c===void 0?Ef:c,p=hn(n),m=p?s?o1:o1.filter(function(v){return hn(v)===p}):ta,h=m.filter(function(v){return d.indexOf(v)>=0});h.length===0&&(h=m);var f=h.reduce(function(v,g){return v[g]=wa(e,{placement:g,boundary:a,rootBoundary:o,padding:i})[pt(g)],v},{});return Object.keys(f).sort(function(v,g){return f[v]-f[g]})}var Mk=T(()=>{gi(),Xe(),ru(),En(),u(a8,"computeAutoPlacement")});function o8(e){if(pt(e)===os)return[];var t=Io(e);return[s1(e),t,s1(t)]}function Hv(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var a=r.mainAxis,o=a===void 0?!0:a,i=r.altAxis,s=i===void 0?!0:i,c=r.fallbackPlacements,d=r.padding,p=r.boundary,m=r.rootBoundary,h=r.altBoundary,f=r.flipVariations,v=f===void 0?!0:f,g=r.allowedAutoPlacements,w=t.options.placement,x=pt(w),D=x===w,E=c||(D||!v?[Io(w)]:o8(w)),b=[w].concat(E).reduce(function(ie,N){return ie.concat(pt(N)===os?a8(t,{placement:N,boundary:p,rootBoundary:m,padding:d,flipVariations:v,allowedAutoPlacements:g}):N)},[]),C=t.rects.reference,S=t.rects.popper,k=new Map,A=!0,_=b[0],I=0;I=0,O=M?"width":"height",P=wa(t,{placement:B,boundary:p,rootBoundary:m,altBoundary:h,padding:d}),H=M?L?Ye:ze:L?Ge:Te;C[O]>S[O]&&(H=Io(H));var U=Io(H),V=[];if(o&&V.push(P[z]<=0),s&&V.push(P[H]<=0,P[U]<=0),V.every(function(ie){return ie})){_=B,A=!1;break}k.set(B,V)}if(A)for(var G=v?3:1,Q=u(function(ie){var N=b.find(function(K){var re=k.get(K);if(re)return re.slice(0,ie).every(function(fe){return fe})});if(N)return _=N,"break"},"_loop"),ne=G;ne>0;ne--){var Z=Q(ne);if(Z==="break")break}t.placement!==_&&(t.modifiersData[n]._skip=!0,t.placement=_,t.reset=!0)}}var i8,Pk=T(()=>{Ik(),En(),Bk(),ru(),Mk(),Xe(),gi(),u(o8,"getExpandedFallbackPlacements"),u(Hv,"flip"),i8={name:"flip",enabled:!0,phase:"main",fn:Hv,requiresIfExists:["offset"],data:{_skip:!1}}});function c1(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function d1(e){return[Te,Ye,Ge,ze].some(function(t){return e[t]>=0})}function jv(e){var t=e.state,r=e.name,n=t.rects.reference,a=t.rects.popper,o=t.modifiersData.preventOverflow,i=wa(t,{elementContext:"reference"}),s=wa(t,{altBoundary:!0}),c=c1(i,n),d=c1(s,a,o),p=d1(c),m=d1(d);t.modifiersData[r]={referenceClippingOffsets:c,popperEscapeOffsets:d,isReferenceHidden:p,hasPopperEscaped:m},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":m})}var l8,$k=T(()=>{Xe(),ru(),u(c1,"getSideOffsets"),u(d1,"isAnySideFullyClipped"),u(jv,"hide"),l8={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:jv}});function s8(e,t,r){var n=pt(e),a=[ze,Te].indexOf(n)>=0?-1:1,o=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,i=o[0],s=o[1];return i=i||0,s=(s||0)*a,[ze,Ye].indexOf(n)>=0?{x:s,y:i}:{x:i,y:s}}function Vv(e){var t=e.state,r=e.options,n=e.name,a=r.offset,o=a===void 0?[0,0]:a,i=Ef.reduce(function(p,m){return p[m]=s8(m,t.rects,o),p},{}),s=i[t.placement],c=s.x,d=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=d),t.modifiersData[n]=i}var u8,Nk=T(()=>{En(),Xe(),u(s8,"distanceAndSkiddingToXY"),u(Vv,"offset"),u8={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Vv}});function Uv(e){var t=e.state,r=e.name;t.modifiersData[r]=Tf({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}var c8,Hk=T(()=>{n8(),u(Uv,"popperOffsets"),c8={name:"popperOffsets",enabled:!0,phase:"read",fn:Uv,data:{}}});function d8(e){return e==="x"?"y":"x"}var jk=T(()=>{u(d8,"getAltAxis")});function qv(e){var t=e.state,r=e.options,n=e.name,a=r.mainAxis,o=a===void 0?!0:a,i=r.altAxis,s=i===void 0?!1:i,c=r.boundary,d=r.rootBoundary,p=r.altBoundary,m=r.padding,h=r.tether,f=h===void 0?!0:h,v=r.tetherOffset,g=v===void 0?0:v,w=wa(t,{boundary:c,rootBoundary:d,padding:m,altBoundary:p}),x=pt(t.placement),D=hn(t.placement),E=!D,b=Xs(x),C=d8(b),S=t.modifiersData.popperOffsets,k=t.rects.reference,A=t.rects.popper,_=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,I=typeof _=="number"?{mainAxis:_,altAxis:_}:Object.assign({mainAxis:0,altAxis:0},_),B=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,z={x:0,y:0};if(S){if(o){var L,M=b==="y"?Te:ze,O=b==="y"?Ge:Ye,P=b==="y"?"height":"width",H=S[b],U=H+w[M],V=H-w[O],G=f?-A[P]/2:0,Q=D===on?k[P]:A[P],ne=D===on?-A[P]:-k[P],Z=t.elements.arrow,ie=f&&Z?Zs(Z):{width:0,height:0},N=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:kf(),K=N[M],re=N[O],fe=na(0,k[P],ie[P]),Ce=E?k[P]/2-G-fe-K-I.mainAxis:Q-fe-K-I.mainAxis,xt=E?-k[P]/2+G+fe+re+I.mainAxis:ne+fe+re+I.mainAxis,He=t.elements.arrow&&Ta(t.elements.arrow),tt=He?b==="y"?He.clientTop||0:He.clientLeft||0:0,$=(L=B==null?void 0:B[b])!=null?L:0,rt=H+Ce-$-tt,Dt=H+xt-$,Mr=na(f?Vo(U,rt):U,H,f?Cr(V,Dt):V);S[b]=Mr,z[b]=Mr-H}if(s){var An,Ct=b==="x"?Te:ze,bi=b==="x"?Ge:Ye,Re=S[C],Pr=C==="y"?"height":"width",St=Re+w[Ct],Fn=Re-w[bi],kt=[Te,ze].indexOf(x)!==-1,_n=(An=B==null?void 0:B[C])!=null?An:0,At=kt?St:Re-k[Pr]-A[Pr]-_n+I.altAxis,Se=kt?Re+k[Pr]+A[Pr]-_n-I.altAxis:Fn,nt=f&&kt?M6(At,Re,Se):na(f?At:St,Re,f?Se:Fn);S[C]=nt,z[C]=nt-Re}t.modifiersData[n]=z}}var p8,Vk=T(()=>{Xe(),En(),Sf(),jk(),P6(),Df(),mi(),ru(),gi(),$6(),xn(),u(qv,"preventOverflow"),p8={name:"preventOverflow",enabled:!0,phase:"main",fn:qv,requiresIfExists:["offset"]}}),f8=T(()=>{});function h8(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}var Uk=T(()=>{u(h8,"getHTMLElementScroll")});function m8(e){return e===Ne(e)||!We(e)?Qs(e):h8(e)}var qk=T(()=>{_f(),Yt(),Qe(),Uk(),u(m8,"getNodeScroll")});function g8(e){var t=e.getBoundingClientRect(),r=pn(t.width)/e.offsetWidth||1,n=pn(t.height)/e.offsetHeight||1;return r!==1||n!==1}function v8(e,t,r){r===void 0&&(r=!1);var n=We(t),a=We(t)&&g8(t),o=cr(t),i=fn(e,a,r),s={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(n||!n&&!r)&&((gt(t)!=="body"||tu(o))&&(s=m8(t)),We(t)?(c=fn(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):o&&(c.x=eu(o))),{x:i.left+s.scrollLeft-c.x,y:i.top+s.scrollTop-c.y,width:i.width,height:i.height}}var Wk=T(()=>{pi(),qk(),wn(),Qe(),Rf(),zr(),If(),xn(),u(g8,"isElementScaled"),u(v8,"getCompositeRect")});function y8(e){var t=new Map,r=new Set,n=[];e.forEach(function(o){t.set(o.name,o)});function a(o){r.add(o.name);var i=[].concat(o.requires||[],o.requiresIfExists||[]);i.forEach(function(s){if(!r.has(s)){var c=t.get(s);c&&a(c)}}),n.push(o)}return u(a,"sort"),e.forEach(function(o){r.has(o.name)||a(o)}),n}function b8(e){var t=y8(e);return R6.reduce(function(r,n){return r.concat(t.filter(function(a){return a.phase===n}))},[])}var Gk=T(()=>{Xe(),u(y8,"order"),u(b8,"orderModifiers")});function w8(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}var Yk=T(()=>{u(w8,"debounce")});function E8(e){var t=e.reduce(function(r,n){var a=r[n.name];return r[n.name]=a?Object.assign({},a,n,{options:Object.assign({},a.options,n.options),data:Object.assign({},a.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var Kk=T(()=>{u(E8,"mergeByName")});function p1(){for(var e=arguments.length,t=new Array(e),r=0;r {Wk(),Df(),X6(),mi(),Gk(),Yk(),Kk(),Qe(),f1={placement:"bottom",modifiers:[],strategy:"absolute"},u(p1,"areValidElements"),u(x8,"popperGenerator")}),Wv,D8,Jk=T(()=>{Zk(),Rk(),Hk(),_k(),kk(),Nk(),Pk(),Vk(),Fk(),$k(),f8(),Wv=[G6,c8,W6,I6,u8,i8,p8,V6,l8],D8=x8({defaultModifiers:Wv})}),Xk=T(()=>{Xe(),f8(),Jk()}),Qk=q((e,t)=>{var r=typeof Element<"u",n=typeof Map=="function",a=typeof Set=="function",o=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function i(s,c){if(s===c)return!0;if(s&&c&&typeof s=="object"&&typeof c=="object"){if(s.constructor!==c.constructor)return!1;var d,p,m;if(Array.isArray(s)){if(d=s.length,d!=c.length)return!1;for(p=d;p--!==0;)if(!i(s[p],c[p]))return!1;return!0}var h;if(n&&s instanceof Map&&c instanceof Map){if(s.size!==c.size)return!1;for(h=s.entries();!(p=h.next()).done;)if(!c.has(p.value[0]))return!1;for(h=s.entries();!(p=h.next()).done;)if(!i(p.value[1],c.get(p.value[0])))return!1;return!0}if(a&&s instanceof Set&&c instanceof Set){if(s.size!==c.size)return!1;for(h=s.entries();!(p=h.next()).done;)if(!c.has(p.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(s)&&ArrayBuffer.isView(c)){if(d=s.length,d!=c.length)return!1;for(p=d;p--!==0;)if(s[p]!==c[p])return!1;return!0}if(s.constructor===RegExp)return s.source===c.source&&s.flags===c.flags;if(s.valueOf!==Object.prototype.valueOf&&typeof s.valueOf=="function"&&typeof c.valueOf=="function")return s.valueOf()===c.valueOf();if(s.toString!==Object.prototype.toString&&typeof s.toString=="function"&&typeof c.toString=="function")return s.toString()===c.toString();if(m=Object.keys(s),d=m.length,d!==Object.keys(c).length)return!1;for(p=d;p--!==0;)if(!Object.prototype.hasOwnProperty.call(c,m[p]))return!1;if(r&&s instanceof Element)return!1;for(p=d;p--!==0;)if(!((m[p]==="_owner"||m[p]==="__v"||m[p]==="__o")&&s.$$typeof)&&!i(s[m[p]],c[m[p]]))return!1;return!0}return s!==s&&c!==c}u(i,"equal"),t.exports=u(function(s,c){try{return i(s,c)}catch(d){if((d.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw d}},"isEqual")}),Gv,Yv,C8,eA=T(()=>{Xk(),Gv=De(Qk()),Sk(),Yv=[],C8=u(function(e,t,r){r===void 0&&(r={});var n=l.useRef(null),a={onFirstUpdate:r.onFirstUpdate,placement:r.placement||"bottom",strategy:r.strategy||"absolute",modifiers:r.modifiers||Yv},o=l.useState({styles:{popper:{position:a.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),i=o[0],s=o[1],c=l.useMemo(function(){return{name:"updateState",enabled:!0,phase:"write",fn:u(function(m){var h=m.state,f=Object.keys(h.elements);fs.flushSync(function(){s({styles:n1(f.map(function(v){return[v,h.styles[v]||{}]})),attributes:n1(f.map(function(v){return[v,h.attributes[v]]}))})})},"fn"),requires:["computeStyles"]}},[]),d=l.useMemo(function(){var m={onFirstUpdate:a.onFirstUpdate,placement:a.placement,strategy:a.strategy,modifiers:[].concat(a.modifiers,[c,{name:"applyStyles",enabled:!1}])};return(0,Gv.default)(n.current,m)?n.current||m:(n.current=m,m)},[a.onFirstUpdate,a.placement,a.strategy,a.modifiers,c]),p=l.useRef();return a1(function(){p.current&&p.current.setOptions(d)},[d]),a1(function(){if(!(e==null||t==null)){var m=r.createPopper||D8,h=m(e,t,d);return p.current=h,function(){h.destroy(),p.current=null}}},[e,t,r.createPopper]),{state:p.current?p.current.state:null,styles:i.styles,attributes:i.attributes,update:p.current?p.current.update:null,forceUpdate:p.current?p.current.forceUpdate:null}},"usePopper")}),tA=T(()=>{eA()});function zf(e){var t=l.useRef(e);return t.current=e,l.useCallback(function(){return t.current},[])}function S8(e){var t=e.initial,r=e.value,n=e.onChange,a=n===void 0?A8:n;if(t===void 0&&r===void 0)throw new TypeError('Either "value" or "initial" variable must be set. Now both are undefined');var o=l.useState(t),i=o[0],s=o[1],c=zf(i),d=l.useCallback(function(m){var h=c(),f=typeof m=="function"?m(h):m;typeof f.persist=="function"&&f.persist(),s(f),typeof a=="function"&&a(f)},[c,a]),p=r!==void 0;return[p?r:i,p?a:d]}function h1(e,t){return e===void 0&&(e=0),t===void 0&&(t=0),function(){return{width:0,height:0,top:t,right:e,bottom:t,left:e,x:0,y:0,toJSON:u(function(){return null},"toJSON")}}}function k8(e,t){var r,n,a;e===void 0&&(e={}),t===void 0&&(t={});var o=Object.keys(g1).reduce(function(O,P){var H;return X({},O,(H={},H[P]=O[P]!==void 0?O[P]:g1[P],H))},e),i=l.useMemo(function(){return[{name:"offset",options:{offset:o.offset}}]},Array.isArray(o.offset)?o.offset:[]),s=X({},t,{placement:t.placement||o.placement,modifiers:t.modifiers||i}),c=l.useState(null),d=c[0],p=c[1],m=l.useState(null),h=m[0],f=m[1],v=S8({initial:o.defaultVisible,value:o.visible,onChange:o.onVisibleChange}),g=v[0],w=v[1],x=l.useRef();l.useEffect(function(){return function(){return clearTimeout(x.current)}},[]);var D=C8(o.followCursor?m1:d,h,s),E=D.styles,b=D.attributes,C=As(D,F8),S=C.update,k=zf({visible:g,triggerRef:d,tooltipRef:h,finalConfig:o}),A=l.useCallback(function(O){return Array.isArray(o.trigger)?o.trigger.includes(O):o.trigger===O},Array.isArray(o.trigger)?o.trigger:[o.trigger]),_=l.useCallback(function(){clearTimeout(x.current),x.current=window.setTimeout(function(){return w(!1)},o.delayHide)},[o.delayHide,w]),I=l.useCallback(function(){clearTimeout(x.current),x.current=window.setTimeout(function(){return w(!0)},o.delayShow)},[o.delayShow,w]),B=l.useCallback(function(){k().visible?_():I()},[k,_,I]);l.useEffect(function(){if(k().finalConfig.closeOnOutsideClick){var O=u(function(P){var H,U=k(),V=U.tooltipRef,G=U.triggerRef,Q=(P.composedPath==null||(H=P.composedPath())==null?void 0:H[0])||P.target;Q instanceof Node&&V!=null&&G!=null&&!V.contains(Q)&&!G.contains(Q)&&_()},"handleClickOutside");return document.addEventListener("mousedown",O),function(){return document.removeEventListener("mousedown",O)}}},[k,_]),l.useEffect(function(){if(!(d==null||!A("click")))return d.addEventListener("click",B),function(){return d.removeEventListener("click",B)}},[d,A,B]),l.useEffect(function(){if(!(d==null||!A("double-click")))return d.addEventListener("dblclick",B),function(){return d.removeEventListener("dblclick",B)}},[d,A,B]),l.useEffect(function(){if(!(d==null||!A("right-click"))){var O=u(function(P){P.preventDefault(),B()},"preventDefaultAndToggle");return d.addEventListener("contextmenu",O),function(){return d.removeEventListener("contextmenu",O)}}},[d,A,B]),l.useEffect(function(){if(!(d==null||!A("focus")))return d.addEventListener("focus",I),d.addEventListener("blur",_),function(){d.removeEventListener("focus",I),d.removeEventListener("blur",_)}},[d,A,I,_]),l.useEffect(function(){if(!(d==null||!A("hover")))return d.addEventListener("mouseenter",I),d.addEventListener("mouseleave",_),function(){d.removeEventListener("mouseenter",I),d.removeEventListener("mouseleave",_)}},[d,A,I,_]),l.useEffect(function(){if(!(h==null||!A("hover")||!k().finalConfig.interactive))return h.addEventListener("mouseenter",I),h.addEventListener("mouseleave",_),function(){h.removeEventListener("mouseenter",I),h.removeEventListener("mouseleave",_)}},[h,A,I,_,k]);var z=C==null||(r=C.state)==null||(n=r.modifiersData)==null||(a=n.hide)==null?void 0:a.isReferenceHidden;l.useEffect(function(){o.closeOnTriggerHidden&&z&&_()},[o.closeOnTriggerHidden,_,z]),l.useEffect(function(){if(!o.followCursor||d==null)return;function O(P){var H=P.clientX,U=P.clientY;m1.getBoundingClientRect=h1(H,U),S==null||S()}return u(O,"setMousePosition"),d.addEventListener("mousemove",O),function(){return d.removeEventListener("mousemove",O)}},[o.followCursor,d,S]),l.useEffect(function(){if(!(h==null||S==null||o.mutationObserverOptions==null)){var O=new MutationObserver(S);return O.observe(h,o.mutationObserverOptions),function(){return O.disconnect()}}},[o.mutationObserverOptions,h,S]);var L=u(function(O){return O===void 0&&(O={}),X({},O,{style:X({},O.style,E.popper)},b.popper,{"data-popper-interactive":o.interactive})},"getTooltipProps"),M=u(function(O){return O===void 0&&(O={}),X({},O,b.arrow,{style:X({},O.style,E.arrow),"data-popper-arrow":!0})},"getArrowProps");return X({getArrowProps:M,getTooltipProps:L,setTooltipRef:f,setTriggerRef:p,tooltipRef:h,triggerRef:d,visible:g},C)}var A8,F8,m1,g1,rA=T(()=>{mp(),yt(),tA(),u(zf,"useGetLatest"),A8=u(function(){},"noop"),u(S8,"useControlledState"),u(h1,"generateBoundingClientRect"),F8=["styles","attributes"],m1={getBoundingClientRect:h1()},g1={closeOnOutsideClick:!0,closeOnTriggerHidden:!1,defaultVisible:!1,delayHide:0,delayShow:0,followCursor:!1,interactive:!1,mutationObserverOptions:{attributes:!0,childList:!0,subtree:!0},offset:[0,6],trigger:"hover"},u(k8,"usePopperTooltip")}),Kv,Ve,Qt,Zv,Jv,v1,nA=T(()=>{Kv=De(ks(),1),Ve=(0,Kv.default)(1e3)((e,t,r,n=0)=>t.split("-")[0]===e?r:n),Qt=8,Zv=F.div({position:"absolute",borderStyle:"solid"},({placement:e})=>{let t=0,r=0;switch(!0){case(e.startsWith("left")||e.startsWith("right")):{r=8;break}case(e.startsWith("top")||e.startsWith("bottom")):{t=8;break}}return{transform:`translate3d(${t}px, ${r}px, 0px)`}},({theme:e,color:t,placement:r})=>({bottom:`${Ve("top",r,`${Qt*-1}px`,"auto")}`,top:`${Ve("bottom",r,`${Qt*-1}px`,"auto")}`,right:`${Ve("left",r,`${Qt*-1}px`,"auto")}`,left:`${Ve("right",r,`${Qt*-1}px`,"auto")}`,borderBottomWidth:`${Ve("top",r,"0",Qt)}px`,borderTopWidth:`${Ve("bottom",r,"0",Qt)}px`,borderRightWidth:`${Ve("left",r,"0",Qt)}px`,borderLeftWidth:`${Ve("right",r,"0",Qt)}px`,borderTopColor:Ve("top",r,e.color[t]||t||e.base==="light"?Ha(e.background.app):e.background.app,"transparent"),borderBottomColor:Ve("bottom",r,e.color[t]||t||e.base==="light"?Ha(e.background.app):e.background.app,"transparent"),borderLeftColor:Ve("left",r,e.color[t]||t||e.base==="light"?Ha(e.background.app):e.background.app,"transparent"),borderRightColor:Ve("right",r,e.color[t]||t||e.base==="light"?Ha(e.background.app):e.background.app,"transparent")})),Jv=F.div(({hidden:e})=>({display:e?"none":"inline-block",zIndex:2147483647}),({theme:e,color:t,hasChrome:r})=>r?{background:t&&e.color[t]||t||e.base==="light"?Ha(e.background.app):e.background.app,filter:` +`)),i+=m+n[c+1]}),i}var Dk=T(()=>{u(S6,"dedent")}),k6={};Fa(k6,{formatter:()=>A6});var Sv,A6,Ck=T(()=>{Sv=De(ks(),1),Ek(),xk(),Dk(),A6=(0,Sv.default)(2)(async(e,t)=>e===!1?t:e==="dedent"||e===!0?S6(t):(await C6.format(t,{parser:e,plugins:[ow],htmlWhitespaceSensitivity:"ignore"})).trim())}),n1,a1,Sk=T(()=>{n1=u(function(e){return e.reduce(function(t,r){var n=r[0],a=r[1];return t[n]=a,t},{})},"fromEntries"),a1=typeof window<"u"&&window.document&&window.document.createElement?l.useLayoutEffect:l.useEffect}),Te,Ge,Ye,ze,os,ta,on,ra,F6,wf,qn,_6,o1,Ef,kv,Av,Fv,_v,Rv,Iv,Bv,Tv,zv,R6,Xe=T(()=>{Te="top",Ge="bottom",Ye="right",ze="left",os="auto",ta=[Te,Ge,Ye,ze],on="start",ra="end",F6="clippingParents",wf="viewport",qn="popper",_6="reference",o1=ta.reduce(function(e,t){return e.concat([t+"-"+on,t+"-"+ra])},[]),Ef=[].concat(ta,[os]).reduce(function(e,t){return e.concat([t,t+"-"+on,t+"-"+ra])},[]),kv="beforeRead",Av="read",Fv="afterRead",_v="beforeMain",Rv="main",Iv="afterMain",Bv="beforeWrite",Tv="write",zv="afterWrite",R6=[kv,Av,Fv,_v,Rv,Iv,Bv,Tv,zv]});function gt(e){return e?(e.nodeName||"").toLowerCase():null}var wn=T(()=>{u(gt,"getNodeName")});function Ne(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}var Yt=T(()=>{u(Ne,"getWindow")});function Rr(e){var t=Ne(e).Element;return e instanceof t||e instanceof Element}function We(e){var t=Ne(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Ks(e){if(typeof ShadowRoot>"u")return!1;var t=Ne(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var Qe=T(()=>{Yt(),u(Rr,"isElement"),u(We,"isHTMLElement"),u(Ks,"isShadowRoot")});function Lv(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},a=t.attributes[r]||{},o=t.elements[r];!We(o)||!gt(o)||(Object.assign(o.style,n),Object.keys(a).forEach(function(i){var s=a[i];s===!1?o.removeAttribute(i):o.setAttribute(i,s===!0?"":s)}))})}function Ov(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var a=t.elements[n],o=t.attributes[n]||{},i=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),s=i.reduce(function(c,d){return c[d]="",c},{});!We(a)||!gt(a)||(Object.assign(a.style,s),Object.keys(o).forEach(function(c){a.removeAttribute(c)}))})}}var I6,kk=T(()=>{wn(),Qe(),u(Lv,"applyStyles"),u(Ov,"effect"),I6={name:"applyStyles",enabled:!0,phase:"write",fn:Lv,effect:Ov,requires:["computeStyles"]}});function pt(e){return e.split("-")[0]}var En=T(()=>{u(pt,"getBasePlacement")}),Cr,Vo,pn,xn=T(()=>{Cr=Math.max,Vo=Math.min,pn=Math.round});function is(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}var B6=T(()=>{u(is,"getUAString")});function xf(){return!/^((?!chrome|android).)*safari/i.test(is())}var T6=T(()=>{B6(),u(xf,"isLayoutViewport")});function fn(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),a=1,o=1;t&&We(e)&&(a=e.offsetWidth>0&&pn(n.width)/e.offsetWidth||1,o=e.offsetHeight>0&&pn(n.height)/e.offsetHeight||1);var i=Rr(e)?Ne(e):window,s=i.visualViewport,c=!xf()&&r,d=(n.left+(c&&s?s.offsetLeft:0))/a,p=(n.top+(c&&s?s.offsetTop:0))/o,m=n.width/a,h=n.height/o;return{width:m,height:h,top:p,right:d+m,bottom:p+h,left:d,x:d,y:p}}var pi=T(()=>{Qe(),xn(),Yt(),T6(),u(fn,"getBoundingClientRect")});function Zs(e){var t=fn(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}var Df=T(()=>{pi(),u(Zs,"getLayoutRect")});function Cf(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&Ks(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}var z6=T(()=>{Qe(),u(Cf,"contains")});function Gt(e){return Ne(e).getComputedStyle(e)}var fi=T(()=>{Yt(),u(Gt,"getComputedStyle")});function L6(e){return["table","td","th"].indexOf(gt(e))>=0}var Ak=T(()=>{wn(),u(L6,"isTableElement")});function cr(e){return((Rr(e)?e.ownerDocument:e.document)||window.document).documentElement}var zr=T(()=>{Qe(),u(cr,"getDocumentElement")});function hi(e){return gt(e)==="html"?e:e.assignedSlot||e.parentNode||(Ks(e)?e.host:null)||cr(e)}var Js=T(()=>{wn(),zr(),Qe(),u(hi,"getParentNode")});function i1(e){return!We(e)||Gt(e).position==="fixed"?null:e.offsetParent}function O6(e){var t=/firefox/i.test(is()),r=/Trident/i.test(is());if(r&&We(e)){var n=Gt(e);if(n.position==="fixed")return null}var a=hi(e);for(Ks(a)&&(a=a.host);We(a)&&["html","body"].indexOf(gt(a))<0;){var o=Gt(a);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return a;a=a.parentNode}return null}function Ta(e){for(var t=Ne(e),r=i1(e);r&&L6(r)&&Gt(r).position==="static";)r=i1(r);return r&&(gt(r)==="html"||gt(r)==="body"&&Gt(r).position==="static")?t:r||O6(e)||t}var mi=T(()=>{Yt(),wn(),fi(),Qe(),Ak(),Js(),B6(),u(i1,"getTrueOffsetParent"),u(O6,"getContainingBlock"),u(Ta,"getOffsetParent")});function Xs(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}var Sf=T(()=>{u(Xs,"getMainAxisFromPlacement")});function na(e,t,r){return Cr(e,Vo(t,r))}function M6(e,t,r){var n=na(e,t,r);return n>r?r:n}var P6=T(()=>{xn(),u(na,"within"),u(M6,"withinMaxClamp")});function kf(){return{top:0,right:0,bottom:0,left:0}}var $6=T(()=>{u(kf,"getFreshSideObject")});function Af(e){return Object.assign({},kf(),e)}var N6=T(()=>{$6(),u(Af,"mergePaddingObject")});function Ff(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var H6=T(()=>{u(Ff,"expandToHashMap")});function Mv(e){var t,r=e.state,n=e.name,a=e.options,o=r.elements.arrow,i=r.modifiersData.popperOffsets,s=pt(r.placement),c=Xs(s),d=[ze,Ye].indexOf(s)>=0,p=d?"height":"width";if(!(!o||!i)){var m=j6(a.padding,r),h=Zs(o),f=c==="y"?Te:ze,v=c==="y"?Ge:Ye,g=r.rects.reference[p]+r.rects.reference[c]-i[c]-r.rects.popper[p],w=i[c]-r.rects.reference[c],x=Ta(o),D=x?c==="y"?x.clientHeight||0:x.clientWidth||0:0,E=g/2-w/2,b=m[f],C=D-h[p]-m[v],S=D/2-h[p]/2+E,k=na(b,S,C),A=c;r.modifiersData[n]=(t={},t[A]=k,t.centerOffset=k-S,t)}}function Pv(e){var t=e.state,r=e.options,n=r.element,a=n===void 0?"[data-popper-arrow]":n;a!=null&&(typeof a=="string"&&(a=t.elements.popper.querySelector(a),!a)||Cf(t.elements.popper,a)&&(t.elements.arrow=a))}var j6,V6,Fk=T(()=>{En(),Df(),z6(),mi(),Sf(),P6(),N6(),H6(),Xe(),j6=u(function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,Af(typeof e!="number"?e:Ff(e,ta))},"toPaddingObject"),u(Mv,"arrow"),u(Pv,"effect"),V6={name:"arrow",enabled:!0,phase:"main",fn:Mv,effect:Pv,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}});function hn(e){return e.split("-")[1]}var gi=T(()=>{u(hn,"getVariation")});function U6(e,t){var r=e.x,n=e.y,a=t.devicePixelRatio||1;return{x:pn(r*a)/a||0,y:pn(n*a)/a||0}}function l1(e){var t,r=e.popper,n=e.popperRect,a=e.placement,o=e.variation,i=e.offsets,s=e.position,c=e.gpuAcceleration,d=e.adaptive,p=e.roundOffsets,m=e.isFixed,h=i.x,f=h===void 0?0:h,v=i.y,g=v===void 0?0:v,w=typeof p=="function"?p({x:f,y:g}):{x:f,y:g};f=w.x,g=w.y;var x=i.hasOwnProperty("x"),D=i.hasOwnProperty("y"),E=ze,b=Te,C=window;if(d){var S=Ta(r),k="clientHeight",A="clientWidth";if(S===Ne(r)&&(S=cr(r),Gt(S).position!=="static"&&s==="absolute"&&(k="scrollHeight",A="scrollWidth")),S=S,a===Te||(a===ze||a===Ye)&&o===ra){b=Ge;var _=m&&S===C&&C.visualViewport?C.visualViewport.height:S[k];g-=_-n.height,g*=c?1:-1}if(a===ze||(a===Te||a===Ge)&&o===ra){E=Ye;var I=m&&S===C&&C.visualViewport?C.visualViewport.width:S[A];f-=I-n.width,f*=c?1:-1}}var B=Object.assign({position:s},d&&q6),z=p===!0?U6({x:f,y:g},Ne(r)):{x:f,y:g};if(f=z.x,g=z.y,c){var L;return Object.assign({},B,(L={},L[b]=D?"0":"",L[E]=x?"0":"",L.transform=(C.devicePixelRatio||1)<=1?"translate("+f+"px, "+g+"px)":"translate3d("+f+"px, "+g+"px, 0)",L))}return Object.assign({},B,(t={},t[b]=D?g+"px":"",t[E]=x?f+"px":"",t.transform="",t))}function $v(e){var t=e.state,r=e.options,n=r.gpuAcceleration,a=n===void 0?!0:n,o=r.adaptive,i=o===void 0?!0:o,s=r.roundOffsets,c=s===void 0?!0:s,d={placement:pt(t.placement),variation:hn(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,l1(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,l1(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var q6,W6,_k=T(()=>{Xe(),mi(),Yt(),zr(),fi(),En(),gi(),xn(),q6={top:"auto",right:"auto",bottom:"auto",left:"auto"},u(U6,"roundOffsetsByDPR"),u(l1,"mapToStyles"),u($v,"computeStyles"),W6={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:$v,data:{}}});function Nv(e){var t=e.state,r=e.instance,n=e.options,a=n.scroll,o=a===void 0?!0:a,i=n.resize,s=i===void 0?!0:i,c=Ne(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&d.forEach(function(p){p.addEventListener("scroll",r.update,vo)}),s&&c.addEventListener("resize",r.update,vo),function(){o&&d.forEach(function(p){p.removeEventListener("scroll",r.update,vo)}),s&&c.removeEventListener("resize",r.update,vo)}}var vo,G6,Rk=T(()=>{Yt(),vo={passive:!0},u(Nv,"effect"),G6={name:"eventListeners",enabled:!0,phase:"write",fn:u(function(){},"fn"),effect:Nv,data:{}}});function Io(e){return e.replace(/left|right|bottom|top/g,function(t){return Y6[t]})}var Y6,Ik=T(()=>{Y6={left:"right",right:"left",bottom:"top",top:"bottom"},u(Io,"getOppositePlacement")});function s1(e){return e.replace(/start|end/g,function(t){return K6[t]})}var K6,Bk=T(()=>{K6={start:"end",end:"start"},u(s1,"getOppositeVariationPlacement")});function Qs(e){var t=Ne(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}var _f=T(()=>{Yt(),u(Qs,"getWindowScroll")});function eu(e){return fn(cr(e)).left+Qs(e).scrollLeft}var Rf=T(()=>{pi(),zr(),_f(),u(eu,"getWindowScrollBarX")});function Z6(e,t){var r=Ne(e),n=cr(e),a=r.visualViewport,o=n.clientWidth,i=n.clientHeight,s=0,c=0;if(a){o=a.width,i=a.height;var d=xf();(d||!d&&t==="fixed")&&(s=a.offsetLeft,c=a.offsetTop)}return{width:o,height:i,x:s+eu(e),y:c}}var Tk=T(()=>{Yt(),zr(),Rf(),T6(),u(Z6,"getViewportRect")});function J6(e){var t,r=cr(e),n=Qs(e),a=(t=e.ownerDocument)==null?void 0:t.body,o=Cr(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),i=Cr(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),s=-n.scrollLeft+eu(e),c=-n.scrollTop;return Gt(a||r).direction==="rtl"&&(s+=Cr(r.clientWidth,a?a.clientWidth:0)-o),{width:o,height:i,x:s,y:c}}var zk=T(()=>{zr(),fi(),Rf(),_f(),xn(),u(J6,"getDocumentRect")});function tu(e){var t=Gt(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}var If=T(()=>{fi(),u(tu,"isScrollParent")});function Bf(e){return["html","body","#document"].indexOf(gt(e))>=0?e.ownerDocument.body:We(e)&&tu(e)?e:Bf(hi(e))}var Lk=T(()=>{Js(),If(),wn(),Qe(),u(Bf,"getScrollParent")});function aa(e,t){var r;t===void 0&&(t=[]);var n=Bf(e),a=n===((r=e.ownerDocument)==null?void 0:r.body),o=Ne(n),i=a?[o].concat(o.visualViewport||[],tu(n)?n:[]):n,s=t.concat(i);return a?s:s.concat(aa(hi(i)))}var X6=T(()=>{Lk(),Js(),Yt(),If(),u(aa,"listScrollParents")});function ls(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}var Q6=T(()=>{u(ls,"rectToClientRect")});function e8(e,t){var r=fn(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function u1(e,t,r){return t===wf?ls(Z6(e,r)):Rr(t)?e8(t,r):ls(J6(cr(e)))}function t8(e){var t=aa(hi(e)),r=["absolute","fixed"].indexOf(Gt(e).position)>=0,n=r&&We(e)?Ta(e):e;return Rr(n)?t.filter(function(a){return Rr(a)&&Cf(a,n)&>(a)!=="body"}):[]}function r8(e,t,r,n){var a=t==="clippingParents"?t8(e):[].concat(t),o=[].concat(a,[r]),i=o[0],s=o.reduce(function(c,d){var p=u1(e,d,n);return c.top=Cr(p.top,c.top),c.right=Vo(p.right,c.right),c.bottom=Vo(p.bottom,c.bottom),c.left=Cr(p.left,c.left),c},u1(e,i,n));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}var Ok=T(()=>{Xe(),Tk(),zk(),X6(),mi(),zr(),fi(),Qe(),pi(),Js(),z6(),wn(),Q6(),xn(),u(e8,"getInnerBoundingClientRect"),u(u1,"getClientRectFromMixedType"),u(t8,"getClippingParents"),u(r8,"getClippingRect")});function Tf(e){var t=e.reference,r=e.element,n=e.placement,a=n?pt(n):null,o=n?hn(n):null,i=t.x+t.width/2-r.width/2,s=t.y+t.height/2-r.height/2,c;switch(a){case Te:c={x:i,y:t.y-r.height};break;case Ge:c={x:i,y:t.y+t.height};break;case Ye:c={x:t.x+t.width,y:s};break;case ze:c={x:t.x-r.width,y:s};break;default:c={x:t.x,y:t.y}}var d=a?Xs(a):null;if(d!=null){var p=d==="y"?"height":"width";switch(o){case on:c[d]=c[d]-(t[p]/2-r[p]/2);break;case ra:c[d]=c[d]+(t[p]/2-r[p]/2);break}}return c}var n8=T(()=>{En(),gi(),Sf(),Xe(),u(Tf,"computeOffsets")});function wa(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=n===void 0?e.placement:n,o=r.strategy,i=o===void 0?e.strategy:o,s=r.boundary,c=s===void 0?F6:s,d=r.rootBoundary,p=d===void 0?wf:d,m=r.elementContext,h=m===void 0?qn:m,f=r.altBoundary,v=f===void 0?!1:f,g=r.padding,w=g===void 0?0:g,x=Af(typeof w!="number"?w:Ff(w,ta)),D=h===qn?_6:qn,E=e.rects.popper,b=e.elements[v?D:h],C=r8(Rr(b)?b:b.contextElement||cr(e.elements.popper),c,p,i),S=fn(e.elements.reference),k=Tf({reference:S,element:E,strategy:"absolute",placement:a}),A=ls(Object.assign({},E,k)),_=h===qn?A:S,I={top:C.top-_.top+x.top,bottom:_.bottom-C.bottom+x.bottom,left:C.left-_.left+x.left,right:_.right-C.right+x.right},B=e.modifiersData.offset;if(h===qn&&B){var z=B[a];Object.keys(I).forEach(function(L){var M=[Ye,Ge].indexOf(L)>=0?1:-1,O=[Te,Ge].indexOf(L)>=0?"y":"x";I[L]+=z[O]*M})}return I}var ru=T(()=>{Ok(),zr(),pi(),n8(),Q6(),Xe(),Qe(),N6(),H6(),u(wa,"detectOverflow")});function a8(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=r.boundary,o=r.rootBoundary,i=r.padding,s=r.flipVariations,c=r.allowedAutoPlacements,d=c===void 0?Ef:c,p=hn(n),m=p?s?o1:o1.filter(function(v){return hn(v)===p}):ta,h=m.filter(function(v){return d.indexOf(v)>=0});h.length===0&&(h=m);var f=h.reduce(function(v,g){return v[g]=wa(e,{placement:g,boundary:a,rootBoundary:o,padding:i})[pt(g)],v},{});return Object.keys(f).sort(function(v,g){return f[v]-f[g]})}var Mk=T(()=>{gi(),Xe(),ru(),En(),u(a8,"computeAutoPlacement")});function o8(e){if(pt(e)===os)return[];var t=Io(e);return[s1(e),t,s1(t)]}function Hv(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var a=r.mainAxis,o=a===void 0?!0:a,i=r.altAxis,s=i===void 0?!0:i,c=r.fallbackPlacements,d=r.padding,p=r.boundary,m=r.rootBoundary,h=r.altBoundary,f=r.flipVariations,v=f===void 0?!0:f,g=r.allowedAutoPlacements,w=t.options.placement,x=pt(w),D=x===w,E=c||(D||!v?[Io(w)]:o8(w)),b=[w].concat(E).reduce(function(ie,N){return ie.concat(pt(N)===os?a8(t,{placement:N,boundary:p,rootBoundary:m,padding:d,flipVariations:v,allowedAutoPlacements:g}):N)},[]),C=t.rects.reference,S=t.rects.popper,k=new Map,A=!0,_=b[0],I=0;I =0,O=M?"width":"height",P=wa(t,{placement:B,boundary:p,rootBoundary:m,altBoundary:h,padding:d}),j=M?L?Ye:ze:L?Ge:Te;C[O]>S[O]&&(j=Io(j));var U=Io(j),V=[];if(o&&V.push(P[z]<=0),s&&V.push(P[j]<=0,P[U]<=0),V.every(function(ie){return ie})){_=B,A=!1;break}k.set(B,V)}if(A)for(var G=v?3:1,Q=u(function(ie){var N=b.find(function(K){var re=k.get(K);if(re)return re.slice(0,ie).every(function(fe){return fe})});if(N)return _=N,"break"},"_loop"),ne=G;ne>0;ne--){var Z=Q(ne);if(Z==="break")break}t.placement!==_&&(t.modifiersData[n]._skip=!0,t.placement=_,t.reset=!0)}}var i8,Pk=T(()=>{Ik(),En(),Bk(),ru(),Mk(),Xe(),gi(),u(o8,"getExpandedFallbackPlacements"),u(Hv,"flip"),i8={name:"flip",enabled:!0,phase:"main",fn:Hv,requiresIfExists:["offset"],data:{_skip:!1}}});function c1(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function d1(e){return[Te,Ye,Ge,ze].some(function(t){return e[t]>=0})}function jv(e){var t=e.state,r=e.name,n=t.rects.reference,a=t.rects.popper,o=t.modifiersData.preventOverflow,i=wa(t,{elementContext:"reference"}),s=wa(t,{altBoundary:!0}),c=c1(i,n),d=c1(s,a,o),p=d1(c),m=d1(d);t.modifiersData[r]={referenceClippingOffsets:c,popperEscapeOffsets:d,isReferenceHidden:p,hasPopperEscaped:m},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":m})}var l8,$k=T(()=>{Xe(),ru(),u(c1,"getSideOffsets"),u(d1,"isAnySideFullyClipped"),u(jv,"hide"),l8={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:jv}});function s8(e,t,r){var n=pt(e),a=[ze,Te].indexOf(n)>=0?-1:1,o=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,i=o[0],s=o[1];return i=i||0,s=(s||0)*a,[ze,Ye].indexOf(n)>=0?{x:s,y:i}:{x:i,y:s}}function Vv(e){var t=e.state,r=e.options,n=e.name,a=r.offset,o=a===void 0?[0,0]:a,i=Ef.reduce(function(p,m){return p[m]=s8(m,t.rects,o),p},{}),s=i[t.placement],c=s.x,d=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=d),t.modifiersData[n]=i}var u8,Nk=T(()=>{En(),Xe(),u(s8,"distanceAndSkiddingToXY"),u(Vv,"offset"),u8={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Vv}});function Uv(e){var t=e.state,r=e.name;t.modifiersData[r]=Tf({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var c8,Hk=T(()=>{n8(),u(Uv,"popperOffsets"),c8={name:"popperOffsets",enabled:!0,phase:"read",fn:Uv,data:{}}});function d8(e){return e==="x"?"y":"x"}var jk=T(()=>{u(d8,"getAltAxis")});function qv(e){var t=e.state,r=e.options,n=e.name,a=r.mainAxis,o=a===void 0?!0:a,i=r.altAxis,s=i===void 0?!1:i,c=r.boundary,d=r.rootBoundary,p=r.altBoundary,m=r.padding,h=r.tether,f=h===void 0?!0:h,v=r.tetherOffset,g=v===void 0?0:v,w=wa(t,{boundary:c,rootBoundary:d,padding:m,altBoundary:p}),x=pt(t.placement),D=hn(t.placement),E=!D,b=Xs(x),C=d8(b),S=t.modifiersData.popperOffsets,k=t.rects.reference,A=t.rects.popper,_=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,I=typeof _=="number"?{mainAxis:_,altAxis:_}:Object.assign({mainAxis:0,altAxis:0},_),B=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,z={x:0,y:0};if(S){if(o){var L,M=b==="y"?Te:ze,O=b==="y"?Ge:Ye,P=b==="y"?"height":"width",j=S[b],U=j+w[M],V=j-w[O],G=f?-A[P]/2:0,Q=D===on?k[P]:A[P],ne=D===on?-A[P]:-k[P],Z=t.elements.arrow,ie=f&&Z?Zs(Z):{width:0,height:0},N=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:kf(),K=N[M],re=N[O],fe=na(0,k[P],ie[P]),Ce=E?k[P]/2-G-fe-K-I.mainAxis:Q-fe-K-I.mainAxis,xt=E?-k[P]/2+G+fe+re+I.mainAxis:ne+fe+re+I.mainAxis,He=t.elements.arrow&&Ta(t.elements.arrow),tt=He?b==="y"?He.clientTop||0:He.clientLeft||0:0,$=(L=B==null?void 0:B[b])!=null?L:0,rt=j+Ce-$-tt,Dt=j+xt-$,Mr=na(f?Vo(U,rt):U,j,f?Cr(V,Dt):V);S[b]=Mr,z[b]=Mr-j}if(s){var An,Ct=b==="x"?Te:ze,bi=b==="x"?Ge:Ye,Re=S[C],Pr=C==="y"?"height":"width",St=Re+w[Ct],Fn=Re-w[bi],kt=[Te,ze].indexOf(x)!==-1,_n=(An=B==null?void 0:B[C])!=null?An:0,At=kt?St:Re-k[Pr]-A[Pr]-_n+I.altAxis,Se=kt?Re+k[Pr]+A[Pr]-_n-I.altAxis:Fn,nt=f&&kt?M6(At,Re,Se):na(f?At:St,Re,f?Se:Fn);S[C]=nt,z[C]=nt-Re}t.modifiersData[n]=z}}var p8,Vk=T(()=>{Xe(),En(),Sf(),jk(),P6(),Df(),mi(),ru(),gi(),$6(),xn(),u(qv,"preventOverflow"),p8={name:"preventOverflow",enabled:!0,phase:"main",fn:qv,requiresIfExists:["offset"]}}),f8=T(()=>{});function h8(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}var Uk=T(()=>{u(h8,"getHTMLElementScroll")});function m8(e){return e===Ne(e)||!We(e)?Qs(e):h8(e)}var qk=T(()=>{_f(),Yt(),Qe(),Uk(),u(m8,"getNodeScroll")});function g8(e){var t=e.getBoundingClientRect(),r=pn(t.width)/e.offsetWidth||1,n=pn(t.height)/e.offsetHeight||1;return r!==1||n!==1}function v8(e,t,r){r===void 0&&(r=!1);var n=We(t),a=We(t)&&g8(t),o=cr(t),i=fn(e,a,r),s={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(n||!n&&!r)&&((gt(t)!=="body"||tu(o))&&(s=m8(t)),We(t)?(c=fn(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):o&&(c.x=eu(o))),{x:i.left+s.scrollLeft-c.x,y:i.top+s.scrollTop-c.y,width:i.width,height:i.height}}var Wk=T(()=>{pi(),qk(),wn(),Qe(),Rf(),zr(),If(),xn(),u(g8,"isElementScaled"),u(v8,"getCompositeRect")});function y8(e){var t=new Map,r=new Set,n=[];e.forEach(function(o){t.set(o.name,o)});function a(o){r.add(o.name);var i=[].concat(o.requires||[],o.requiresIfExists||[]);i.forEach(function(s){if(!r.has(s)){var c=t.get(s);c&&a(c)}}),n.push(o)}return u(a,"sort"),e.forEach(function(o){r.has(o.name)||a(o)}),n}function b8(e){var t=y8(e);return R6.reduce(function(r,n){return r.concat(t.filter(function(a){return a.phase===n}))},[])}var Gk=T(()=>{Xe(),u(y8,"order"),u(b8,"orderModifiers")});function w8(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}var Yk=T(()=>{u(w8,"debounce")});function E8(e){var t=e.reduce(function(r,n){var a=r[n.name];return r[n.name]=a?Object.assign({},a,n,{options:Object.assign({},a.options,n.options),data:Object.assign({},a.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var Kk=T(()=>{u(E8,"mergeByName")});function p1(){for(var e=arguments.length,t=new Array(e),r=0;r {Wk(),Df(),X6(),mi(),Gk(),Yk(),Kk(),Qe(),f1={placement:"bottom",modifiers:[],strategy:"absolute"},u(p1,"areValidElements"),u(x8,"popperGenerator")}),Wv,D8,Jk=T(()=>{Zk(),Rk(),Hk(),_k(),kk(),Nk(),Pk(),Vk(),Fk(),$k(),f8(),Wv=[G6,c8,W6,I6,u8,i8,p8,V6,l8],D8=x8({defaultModifiers:Wv})}),Xk=T(()=>{Xe(),f8(),Jk()}),Qk=q((e,t)=>{var r=typeof Element<"u",n=typeof Map=="function",a=typeof Set=="function",o=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function i(s,c){if(s===c)return!0;if(s&&c&&typeof s=="object"&&typeof c=="object"){if(s.constructor!==c.constructor)return!1;var d,p,m;if(Array.isArray(s)){if(d=s.length,d!=c.length)return!1;for(p=d;p--!==0;)if(!i(s[p],c[p]))return!1;return!0}var h;if(n&&s instanceof Map&&c instanceof Map){if(s.size!==c.size)return!1;for(h=s.entries();!(p=h.next()).done;)if(!c.has(p.value[0]))return!1;for(h=s.entries();!(p=h.next()).done;)if(!i(p.value[1],c.get(p.value[0])))return!1;return!0}if(a&&s instanceof Set&&c instanceof Set){if(s.size!==c.size)return!1;for(h=s.entries();!(p=h.next()).done;)if(!c.has(p.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(s)&&ArrayBuffer.isView(c)){if(d=s.length,d!=c.length)return!1;for(p=d;p--!==0;)if(s[p]!==c[p])return!1;return!0}if(s.constructor===RegExp)return s.source===c.source&&s.flags===c.flags;if(s.valueOf!==Object.prototype.valueOf&&typeof s.valueOf=="function"&&typeof c.valueOf=="function")return s.valueOf()===c.valueOf();if(s.toString!==Object.prototype.toString&&typeof s.toString=="function"&&typeof c.toString=="function")return s.toString()===c.toString();if(m=Object.keys(s),d=m.length,d!==Object.keys(c).length)return!1;for(p=d;p--!==0;)if(!Object.prototype.hasOwnProperty.call(c,m[p]))return!1;if(r&&s instanceof Element)return!1;for(p=d;p--!==0;)if(!((m[p]==="_owner"||m[p]==="__v"||m[p]==="__o")&&s.$$typeof)&&!i(s[m[p]],c[m[p]]))return!1;return!0}return s!==s&&c!==c}u(i,"equal"),t.exports=u(function(s,c){try{return i(s,c)}catch(d){if((d.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw d}},"isEqual")}),Gv,Yv,C8,eA=T(()=>{Xk(),Gv=De(Qk()),Sk(),Yv=[],C8=u(function(e,t,r){r===void 0&&(r={});var n=l.useRef(null),a={onFirstUpdate:r.onFirstUpdate,placement:r.placement||"bottom",strategy:r.strategy||"absolute",modifiers:r.modifiers||Yv},o=l.useState({styles:{popper:{position:a.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),i=o[0],s=o[1],c=l.useMemo(function(){return{name:"updateState",enabled:!0,phase:"write",fn:u(function(m){var h=m.state,f=Object.keys(h.elements);fs.flushSync(function(){s({styles:n1(f.map(function(v){return[v,h.styles[v]||{}]})),attributes:n1(f.map(function(v){return[v,h.attributes[v]]}))})})},"fn"),requires:["computeStyles"]}},[]),d=l.useMemo(function(){var m={onFirstUpdate:a.onFirstUpdate,placement:a.placement,strategy:a.strategy,modifiers:[].concat(a.modifiers,[c,{name:"applyStyles",enabled:!1}])};return(0,Gv.default)(n.current,m)?n.current||m:(n.current=m,m)},[a.onFirstUpdate,a.placement,a.strategy,a.modifiers,c]),p=l.useRef();return a1(function(){p.current&&p.current.setOptions(d)},[d]),a1(function(){if(!(e==null||t==null)){var m=r.createPopper||D8,h=m(e,t,d);return p.current=h,function(){h.destroy(),p.current=null}}},[e,t,r.createPopper]),{state:p.current?p.current.state:null,styles:i.styles,attributes:i.attributes,update:p.current?p.current.update:null,forceUpdate:p.current?p.current.forceUpdate:null}},"usePopper")}),tA=T(()=>{eA()});function zf(e){var t=l.useRef(e);return t.current=e,l.useCallback(function(){return t.current},[])}function S8(e){var t=e.initial,r=e.value,n=e.onChange,a=n===void 0?A8:n;if(t===void 0&&r===void 0)throw new TypeError('Either "value" or "initial" variable must be set. Now both are undefined');var o=l.useState(t),i=o[0],s=o[1],c=zf(i),d=l.useCallback(function(m){var h=c(),f=typeof m=="function"?m(h):m;typeof f.persist=="function"&&f.persist(),s(f),typeof a=="function"&&a(f)},[c,a]),p=r!==void 0;return[p?r:i,p?a:d]}function h1(e,t){return e===void 0&&(e=0),t===void 0&&(t=0),function(){return{width:0,height:0,top:t,right:e,bottom:t,left:e,x:0,y:0,toJSON:u(function(){return null},"toJSON")}}}function k8(e,t){var r,n,a;e===void 0&&(e={}),t===void 0&&(t={});var o=Object.keys(g1).reduce(function(O,P){var j;return X({},O,(j={},j[P]=O[P]!==void 0?O[P]:g1[P],j))},e),i=l.useMemo(function(){return[{name:"offset",options:{offset:o.offset}}]},Array.isArray(o.offset)?o.offset:[]),s=X({},t,{placement:t.placement||o.placement,modifiers:t.modifiers||i}),c=l.useState(null),d=c[0],p=c[1],m=l.useState(null),h=m[0],f=m[1],v=S8({initial:o.defaultVisible,value:o.visible,onChange:o.onVisibleChange}),g=v[0],w=v[1],x=l.useRef();l.useEffect(function(){return function(){return clearTimeout(x.current)}},[]);var D=C8(o.followCursor?m1:d,h,s),E=D.styles,b=D.attributes,C=As(D,F8),S=C.update,k=zf({visible:g,triggerRef:d,tooltipRef:h,finalConfig:o}),A=l.useCallback(function(O){return Array.isArray(o.trigger)?o.trigger.includes(O):o.trigger===O},Array.isArray(o.trigger)?o.trigger:[o.trigger]),_=l.useCallback(function(){clearTimeout(x.current),x.current=window.setTimeout(function(){return w(!1)},o.delayHide)},[o.delayHide,w]),I=l.useCallback(function(){clearTimeout(x.current),x.current=window.setTimeout(function(){return w(!0)},o.delayShow)},[o.delayShow,w]),B=l.useCallback(function(){k().visible?_():I()},[k,_,I]);l.useEffect(function(){if(k().finalConfig.closeOnOutsideClick){var O=u(function(P){var j,U=k(),V=U.tooltipRef,G=U.triggerRef,Q=(P.composedPath==null||(j=P.composedPath())==null?void 0:j[0])||P.target;Q instanceof Node&&V!=null&&G!=null&&!V.contains(Q)&&!G.contains(Q)&&_()},"handleClickOutside");return document.addEventListener("mousedown",O),function(){return document.removeEventListener("mousedown",O)}}},[k,_]),l.useEffect(function(){if(!(d==null||!A("click")))return d.addEventListener("click",B),function(){return d.removeEventListener("click",B)}},[d,A,B]),l.useEffect(function(){if(!(d==null||!A("double-click")))return d.addEventListener("dblclick",B),function(){return d.removeEventListener("dblclick",B)}},[d,A,B]),l.useEffect(function(){if(!(d==null||!A("right-click"))){var O=u(function(P){P.preventDefault(),B()},"preventDefaultAndToggle");return d.addEventListener("contextmenu",O),function(){return d.removeEventListener("contextmenu",O)}}},[d,A,B]),l.useEffect(function(){if(!(d==null||!A("focus")))return d.addEventListener("focus",I),d.addEventListener("blur",_),function(){d.removeEventListener("focus",I),d.removeEventListener("blur",_)}},[d,A,I,_]),l.useEffect(function(){if(!(d==null||!A("hover")))return d.addEventListener("mouseenter",I),d.addEventListener("mouseleave",_),function(){d.removeEventListener("mouseenter",I),d.removeEventListener("mouseleave",_)}},[d,A,I,_]),l.useEffect(function(){if(!(h==null||!A("hover")||!k().finalConfig.interactive))return h.addEventListener("mouseenter",I),h.addEventListener("mouseleave",_),function(){h.removeEventListener("mouseenter",I),h.removeEventListener("mouseleave",_)}},[h,A,I,_,k]);var z=C==null||(r=C.state)==null||(n=r.modifiersData)==null||(a=n.hide)==null?void 0:a.isReferenceHidden;l.useEffect(function(){o.closeOnTriggerHidden&&z&&_()},[o.closeOnTriggerHidden,_,z]),l.useEffect(function(){if(!o.followCursor||d==null)return;function O(P){var j=P.clientX,U=P.clientY;m1.getBoundingClientRect=h1(j,U),S==null||S()}return u(O,"setMousePosition"),d.addEventListener("mousemove",O),function(){return d.removeEventListener("mousemove",O)}},[o.followCursor,d,S]),l.useEffect(function(){if(!(h==null||S==null||o.mutationObserverOptions==null)){var O=new MutationObserver(S);return O.observe(h,o.mutationObserverOptions),function(){return O.disconnect()}}},[o.mutationObserverOptions,h,S]);var L=u(function(O){return O===void 0&&(O={}),X({},O,{style:X({},O.style,E.popper)},b.popper,{"data-popper-interactive":o.interactive})},"getTooltipProps"),M=u(function(O){return O===void 0&&(O={}),X({},O,b.arrow,{style:X({},O.style,E.arrow),"data-popper-arrow":!0})},"getArrowProps");return X({getArrowProps:M,getTooltipProps:L,setTooltipRef:f,setTriggerRef:p,tooltipRef:h,triggerRef:d,visible:g},C)}var A8,F8,m1,g1,rA=T(()=>{mp(),yt(),tA(),u(zf,"useGetLatest"),A8=u(function(){},"noop"),u(S8,"useControlledState"),u(h1,"generateBoundingClientRect"),F8=["styles","attributes"],m1={getBoundingClientRect:h1()},g1={closeOnOutsideClick:!0,closeOnTriggerHidden:!1,defaultVisible:!1,delayHide:0,delayShow:0,followCursor:!1,interactive:!1,mutationObserverOptions:{attributes:!0,childList:!0,subtree:!0},offset:[0,6],trigger:"hover"},u(k8,"usePopperTooltip")}),Kv,Ve,Qt,Zv,Jv,v1,nA=T(()=>{Kv=De(ks(),1),Ve=(0,Kv.default)(1e3)((e,t,r,n=0)=>t.split("-")[0]===e?r:n),Qt=8,Zv=F.div({position:"absolute",borderStyle:"solid"},({placement:e})=>{let t=0,r=0;switch(!0){case(e.startsWith("left")||e.startsWith("right")):{r=8;break}case(e.startsWith("top")||e.startsWith("bottom")):{t=8;break}}return{transform:`translate3d(${t}px, ${r}px, 0px)`}},({theme:e,color:t,placement:r})=>({bottom:`${Ve("top",r,`${Qt*-1}px`,"auto")}`,top:`${Ve("bottom",r,`${Qt*-1}px`,"auto")}`,right:`${Ve("left",r,`${Qt*-1}px`,"auto")}`,left:`${Ve("right",r,`${Qt*-1}px`,"auto")}`,borderBottomWidth:`${Ve("top",r,"0",Qt)}px`,borderTopWidth:`${Ve("bottom",r,"0",Qt)}px`,borderRightWidth:`${Ve("left",r,"0",Qt)}px`,borderLeftWidth:`${Ve("right",r,"0",Qt)}px`,borderTopColor:Ve("top",r,e.color[t]||t||e.base==="light"?Ha(e.background.app):e.background.app,"transparent"),borderBottomColor:Ve("bottom",r,e.color[t]||t||e.base==="light"?Ha(e.background.app):e.background.app,"transparent"),borderLeftColor:Ve("left",r,e.color[t]||t||e.base==="light"?Ha(e.background.app):e.background.app,"transparent"),borderRightColor:Ve("right",r,e.color[t]||t||e.base==="light"?Ha(e.background.app):e.background.app,"transparent")})),Jv=F.div(({hidden:e})=>({display:e?"none":"inline-block",zIndex:2147483647}),({theme:e,color:t,hasChrome:r})=>r?{background:t&&e.color[t]||t||e.base==="light"?Ha(e.background.app):e.background.app,filter:` drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)) `,borderRadius:e.appBorderRadius,fontSize:e.typography.size.s1}:{}),v1=y.forwardRef(({placement:e="top",hasChrome:t=!0,children:r,arrowProps:n={},tooltipRef:a,color:o,withArrows:i,...s},c)=>y.createElement(Jv,{"data-testid":"tooltip",hasChrome:t,ref:c,...s,color:o},t&&i&&y.createElement(Zv,{placement:e,...n,color:o}),r)),v1.displayName="Tooltip"}),Lf={};Fa(Lf,{WithToolTipState:()=>ss,WithTooltip:()=>ss,WithTooltipPure:()=>y1});var to,Xv,Qv,y1,ss,Of=T(()=>{hp(),rA(),nA(),{document:to}=Ss,Xv=F.div` @@ -480,7 +480,7 @@ To pass a single animation please supply them in simple values, e.g. animation(' body[`).concat(ds,`] { `).concat(IB,": ").concat(s,`px; } -`)},"getStyles"),NB=u(function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,a=n===void 0?"margin":n,o=l.useMemo(function(){return MB(a)},[a]);return l.useEffect(function(){return document.body.setAttribute(ds,""),function(){document.body.removeAttribute(ds)}},[]),l.createElement(PB,{styles:$B(o,!t,a,r?"":"!important")})},"RemoveScrollBar"),A1=!1;if(typeof window<"u")try{ro=Object.defineProperty({},"passive",{get:u(function(){return A1=!0,!0},"get")}),window.addEventListener("test",ro,ro),window.removeEventListener("test",ro,ro)}catch{A1=!1}var ro,zn=A1?{}:!1,HB=u(function(e){return e.tagName==="TEXTAREA"},"alwaysContainsScroll"),BE=u(function(e,t){var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!HB(e)&&r[t]==="visible")},"elementCanBeScrolled"),jB=u(function(e){return BE(e,"overflowY")},"elementCouldBeVScrolled"),VB=u(function(e){return BE(e,"overflowX")},"elementCouldBeHScrolled"),i4=u(function(e,t){var r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var n=TE(e,r);if(n){var a=zE(e,r),o=a[1],i=a[2];if(o>i)return!0}r=r.parentNode}while(r&&r!==document.body);return!1},"locationCouldBeScrolled"),UB=u(function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},"getVScrollVariables"),qB=u(function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},"getHScrollVariables"),TE=u(function(e,t){return e==="v"?jB(t):VB(t)},"elementCouldBeScrolled"),zE=u(function(e,t){return e==="v"?UB(t):qB(t)},"getScrollVariables"),WB=u(function(e,t){return e==="h"&&t==="rtl"?-1:1},"getDirectionFactor"),GB=u(function(e,t,r,n,a){var o=WB(e,window.getComputedStyle(t).direction),i=o*n,s=r.target,c=t.contains(s),d=!1,p=i>0,m=0,h=0;do{var f=zE(e,s),v=f[0],g=f[1],w=f[2],x=g-w-o*v;(v||x)&&TE(e,s)&&(m+=x,h+=v),s=s.parentNode}while(!c&&s!==document.body||c&&(t.contains(s)||t===s));return(p&&(a&&m===0||!a&&i>m)||!p&&(a&&h===0||!a&&-i>h))&&(d=!0),d},"handleScroll"),Gi=u(function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},"getTouchXY"),l4=u(function(e){return[e.deltaX,e.deltaY]},"getDeltaXY"),s4=u(function(e){return e&&"current"in e?e.current:e},"extractRef"),YB=u(function(e,t){return e[0]===t[0]&&e[1]===t[1]},"deltaCompare"),KB=u(function(e){return` +`)},"getStyles"),NB=u(function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,a=n===void 0?"margin":n,o=l.useMemo(function(){return MB(a)},[a]);return l.useEffect(function(){return document.body.setAttribute(ds,""),function(){document.body.removeAttribute(ds)}},[]),l.createElement(PB,{styles:$B(o,!t,a,r?"":"!important")})},"RemoveScrollBar"),A1=!1;if(typeof window<"u")try{ro=Object.defineProperty({},"passive",{get:u(function(){return A1=!0,!0},"get")}),window.addEventListener("test",ro,ro),window.removeEventListener("test",ro,ro)}catch{A1=!1}var ro,zn=A1?{passive:!1}:!1,HB=u(function(e){return e.tagName==="TEXTAREA"},"alwaysContainsScroll"),BE=u(function(e,t){var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!HB(e)&&r[t]==="visible")},"elementCanBeScrolled"),jB=u(function(e){return BE(e,"overflowY")},"elementCouldBeVScrolled"),VB=u(function(e){return BE(e,"overflowX")},"elementCouldBeHScrolled"),i4=u(function(e,t){var r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var n=TE(e,r);if(n){var a=zE(e,r),o=a[1],i=a[2];if(o>i)return!0}r=r.parentNode}while(r&&r!==document.body);return!1},"locationCouldBeScrolled"),UB=u(function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},"getVScrollVariables"),qB=u(function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},"getHScrollVariables"),TE=u(function(e,t){return e==="v"?jB(t):VB(t)},"elementCouldBeScrolled"),zE=u(function(e,t){return e==="v"?UB(t):qB(t)},"getScrollVariables"),WB=u(function(e,t){return e==="h"&&t==="rtl"?-1:1},"getDirectionFactor"),GB=u(function(e,t,r,n,a){var o=WB(e,window.getComputedStyle(t).direction),i=o*n,s=r.target,c=t.contains(s),d=!1,p=i>0,m=0,h=0;do{var f=zE(e,s),v=f[0],g=f[1],w=f[2],x=g-w-o*v;(v||x)&&TE(e,s)&&(m+=x,h+=v),s=s.parentNode}while(!c&&s!==document.body||c&&(t.contains(s)||t===s));return(p&&(a&&m===0||!a&&i>m)||!p&&(a&&h===0||!a&&-i>h))&&(d=!0),d},"handleScroll"),Gi=u(function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},"getTouchXY"),l4=u(function(e){return[e.deltaX,e.deltaY]},"getDeltaXY"),s4=u(function(e){return e&&"current"in e?e.current:e},"extractRef"),YB=u(function(e,t){return e[0]===t[0]&&e[1]===t[1]},"deltaCompare"),KB=u(function(e){return` .block-interactivity-`.concat(e,` {pointer-events: none;} .allow-interactivity-`).concat(e,` {pointer-events: all;} `)},"generateStyle"),ZB=0,Ln=[];function LE(e){var t=l.useRef([]),r=l.useRef([0,0]),n=l.useRef(),a=l.useState(ZB++)[0],o=l.useState(function(){return IE()})[0],i=l.useRef(e);l.useEffect(function(){i.current=e},[e]),l.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var g=bE([e.lockRef.current],(e.shards||[]).map(s4),!0).filter(Boolean);return g.forEach(function(w){return w.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),g.forEach(function(w){return w.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var s=l.useCallback(function(g,w){if("touches"in g&&g.touches.length===2)return!i.current.allowPinchZoom;var x=Gi(g),D=r.current,E="deltaX"in g?g.deltaX:D[0]-x[0],b="deltaY"in g?g.deltaY:D[1]-x[1],C,S=g.target,k=Math.abs(E)>Math.abs(b)?"h":"v";if("touches"in g&&k==="h"&&S.type==="range")return!1;var A=i4(k,S);if(!A)return!0;if(A?C=k:(C=k==="v"?"h":"v",A=i4(k,S)),!A)return!1;if(!n.current&&"changedTouches"in g&&(E||b)&&(n.current=C),!C)return!0;var _=n.current||C;return GB(_,w,g,_==="h"?E:b,!0)},[]),c=l.useCallback(function(g){var w=g;if(!(!Ln.length||Ln[Ln.length-1]!==o)){var x="deltaY"in w?l4(w):Gi(w),D=t.current.filter(function(C){return C.name===w.type&&C.target===w.target&&YB(C.delta,x)})[0];if(D&&D.should){w.cancelable&&w.preventDefault();return}if(!D){var E=(i.current.shards||[]).map(s4).filter(Boolean).filter(function(C){return C.contains(w.target)}),b=E.length>0?s(w,E[0]):!i.current.noIsolation;b&&w.cancelable&&w.preventDefault()}}},[]),d=l.useCallback(function(g,w,x,D){var E={name:g,delta:w,target:x,should:D};t.current.push(E),setTimeout(function(){t.current=t.current.filter(function(b){return b!==E})},1)},[]),p=l.useCallback(function(g){r.current=Gi(g),n.current=void 0},[]),m=l.useCallback(function(g){d(g.type,l4(g),g.target,s(g,e.lockRef.current))},[]),h=l.useCallback(function(g){d(g.type,Gi(g),g.target,s(g,e.lockRef.current))},[]);l.useEffect(function(){return Ln.push(o),e.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:h}),document.addEventListener("wheel",c,zn),document.addEventListener("touchmove",c,zn),document.addEventListener("touchstart",p,zn),function(){Ln=Ln.filter(function(g){return g!==o}),document.removeEventListener("wheel",c,zn),document.removeEventListener("touchmove",c,zn),document.removeEventListener("touchstart",p,zn)}},[]);var f=e.removeScrollBar,v=e.inert;return l.createElement(l.Fragment,null,v?l.createElement(o,{styles:KB(a)}):null,f?l.createElement(NB,{gapMode:"margin"}):null)}u(LE,"RemoveScrollSideCar");var JB=kE(AE,LE),OE=l.forwardRef(function(e,t){return l.createElement(su,Tt({},e,{ref:t,sideCar:JB}))});OE.classNames=su.classNames;var XB=OE,QB=u(function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},"getDefaultParent"),On=new WeakMap,Yi=new WeakMap,Ki={},N0=0,ME=u(function(e){return e&&(e.host||ME(e.parentNode))},"unwrapHost"),eT=u(function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=ME(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},"correctTargets"),tT=u(function(e,t,r,n){var a=eT(t,Array.isArray(e)?e:[e]);Ki[r]||(Ki[r]=new WeakMap);var o=Ki[r],i=[],s=new Set,c=new Set(a),d=u(function(m){!m||s.has(m)||(s.add(m),d(m.parentNode))},"keep");a.forEach(d);var p=u(function(m){!m||c.has(m)||Array.prototype.forEach.call(m.children,function(h){if(s.has(h))p(h);else{var f=h.getAttribute(n),v=f!==null&&f!=="false",g=(On.get(h)||0)+1,w=(o.get(h)||0)+1;On.set(h,g),o.set(h,w),i.push(h),g===1&&v&&Yi.set(h,!0),w===1&&h.setAttribute(r,"true"),v||h.setAttribute(n,"true")}})},"deep");return p(t),s.clear(),N0++,function(){i.forEach(function(m){var h=On.get(m)-1,f=o.get(m)-1;On.set(m,h),o.set(m,f),h||(Yi.has(m)||m.removeAttribute(n),Yi.delete(m)),f||m.removeAttribute(r)}),N0--,N0||(On=new WeakMap,On=new WeakMap,Yi=new WeakMap,Ki={})}},"applyAttributeToOthers"),rT=u(function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),a=t||QB(e);return a?(n.push.apply(n,Array.from(a.querySelectorAll("[aria-live]"))),tT(n,a,r,"aria-hidden")):function(){return null}},"hideOthers");yt();var PE=l.forwardRef((e,t)=>{let{children:r,...n}=e,a=l.Children.toArray(r),o=a.find($E);if(o){let i=o.props.children,s=a.map(c=>c===o?l.Children.count(i)>1?l.Children.only(null):l.isValidElement(i)?i.props.children:null:c);return l.createElement(F1,X({},n,{ref:t}),l.isValidElement(i)?l.cloneElement(i,void 0,s):null)}return l.createElement(F1,X({},n,{ref:t}),r)});PE.displayName="Slot";var F1=l.forwardRef((e,t)=>{let{children:r,...n}=e;return l.isValidElement(r)?l.cloneElement(r,{...NE(n,r.props),ref:t?iu(t,r.ref):r.ref}):l.Children.count(r)>1?l.Children.only(null):null});F1.displayName="SlotClone";var nT=u(({children:e})=>l.createElement(l.Fragment,null,e),"$5e63c961fc1ce211$export$d9f1ccf0bdb05d45");function $E(e){return l.isValidElement(e)&&e.type===nT}u($E,"$5e63c961fc1ce211$var$isSlottable");function NE(e,t){let r={...t};for(let n in t){let a=e[n],o=t[n];/^on[A-Z]/.test(n)?a&&o?r[n]=(...i)=>{o(...i),a(...i)}:a&&(r[n]=a):n==="style"?r[n]={...a,...o}:n==="className"&&(r[n]=[a,o].filter(Boolean).join(" "))}return{...e,...r}}u(NE,"$5e63c961fc1ce211$var$mergeProps");var HE="Dialog",[jE,aT]=Q8(HE),[oT,wt]=jE(HE),VE=u(e=>{let{__scopeDialog:t,children:r,open:n,defaultOpen:a,onOpenChange:o,modal:i=!0}=e,s=l.useRef(null),c=l.useRef(null),[d=!1,p]=tE({prop:n,defaultProp:a,onChange:o});return l.createElement(oT,{scope:t,triggerRef:s,contentRef:c,contentId:vl(),titleId:vl(),descriptionId:vl(),open:d,onOpenChange:p,onOpenToggle:l.useCallback(()=>p(m=>!m),[p]),modal:i},r)},"$5d3850c4d0b4e6c7$export$3ddf2d174ce01153"),iT="DialogTrigger",UE=l.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=wt(iT,r),o=Cn(t,a.triggerRef);return l.createElement(Or.button,X({type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":uu(a.open)},n,{ref:o,onClick:or(e.onClick,a.onOpenToggle)}))}),qE="DialogPortal",[lT,WE]=jE(qE,{forceMount:void 0}),GE=u(e=>{let{__scopeDialog:t,forceMount:r,children:n,container:a}=e,o=wt(qE,t);return l.createElement(lT,{scope:t,forceMount:r},l.Children.map(n,i=>l.createElement(lu,{present:r||o.open},l.createElement(_B,{asChild:!0,container:a},i))))},"$5d3850c4d0b4e6c7$export$dad7c95542bacce0"),_1="DialogOverlay",YE=l.forwardRef((e,t)=>{let r=WE(_1,e.__scopeDialog),{forceMount:n=r.forceMount,...a}=e,o=wt(_1,e.__scopeDialog);return o.modal?l.createElement(lu,{present:n||o.open},l.createElement(sT,X({},a,{ref:t}))):null}),sT=l.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=wt(_1,r);return l.createElement(XB,{as:PE,allowPinchZoom:!0,shards:[a.contentRef]},l.createElement(Or.div,X({"data-state":uu(a.open)},n,{ref:t,style:{pointerEvents:"auto",...n.style}})))}),Da="DialogContent",KE=l.forwardRef((e,t)=>{let r=WE(Da,e.__scopeDialog),{forceMount:n=r.forceMount,...a}=e,o=wt(Da,e.__scopeDialog);return l.createElement(lu,{present:n||o.open},o.modal?l.createElement(uT,X({},a,{ref:t})):l.createElement(cT,X({},a,{ref:t})))}),uT=l.forwardRef((e,t)=>{let r=wt(Da,e.__scopeDialog),n=l.useRef(null),a=Cn(t,r.contentRef,n);return l.useEffect(()=>{let o=n.current;if(o)return rT(o)},[]),l.createElement(ZE,X({},e,{ref:a,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:or(e.onCloseAutoFocus,o=>{var i;o.preventDefault(),(i=r.triggerRef.current)===null||i===void 0||i.focus()}),onPointerDownOutside:or(e.onPointerDownOutside,o=>{let i=o.detail.originalEvent,s=i.button===0&&i.ctrlKey===!0;(i.button===2||s)&&o.preventDefault()}),onFocusOutside:or(e.onFocusOutside,o=>o.preventDefault())}))}),cT=l.forwardRef((e,t)=>{let r=wt(Da,e.__scopeDialog),n=l.useRef(!1),a=l.useRef(!1);return l.createElement(ZE,X({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:u(o=>{var i;if((i=e.onCloseAutoFocus)===null||i===void 0||i.call(e,o),!o.defaultPrevented){var s;n.current||(s=r.triggerRef.current)===null||s===void 0||s.focus(),o.preventDefault()}n.current=!1,a.current=!1},"onCloseAutoFocus"),onInteractOutside:u(o=>{var i,s;(i=e.onInteractOutside)===null||i===void 0||i.call(e,o),o.defaultPrevented||(n.current=!0,o.detail.originalEvent.type==="pointerdown"&&(a.current=!0));let c=o.target;!((s=r.triggerRef.current)===null||s===void 0)&&s.contains(c)&&o.preventDefault(),o.detail.originalEvent.type==="focusin"&&a.current&&o.preventDefault()},"onInteractOutside")}))}),ZE=l.forwardRef((e,t)=>{let{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:a,onCloseAutoFocus:o,...i}=e,s=wt(Da,r),c=l.useRef(null),d=Cn(t,c);return yE(),l.createElement(l.Fragment,null,l.createElement(FB,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:a,onUnmountAutoFocus:o},l.createElement(AB,X({role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":uu(s.open)},i,{ref:d,onDismiss:u(()=>s.onOpenChange(!1),"onDismiss")}))),!1)}),JE="DialogTitle",XE=l.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=wt(JE,r);return l.createElement(Or.h2,X({id:a.titleId},n,{ref:t}))}),dT="DialogDescription",QE=l.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=wt(dT,r);return l.createElement(Or.p,X({id:a.descriptionId},n,{ref:t}))}),pT="DialogClose",e9=l.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=wt(pT,r);return l.createElement(Or.button,X({type:"button"},n,{ref:t,onClick:or(e.onClick,()=>a.onOpenChange(!1))}))});function uu(e){return e?"open":"closed"}u(uu,"$5d3850c4d0b4e6c7$var$getState");var fT="DialogTitleWarning",[hT,EV]=X8(fT,{contentName:Da,titleName:JE,docsSlug:"dialog"}),t9=VE,mT=UE,r9=GE,n9=YE,a9=KE,o9=XE,i9=QE,l9=e9,s9={};Fa(s9,{Actions:()=>CT,CloseButton:()=>p9,Col:()=>h9,Container:()=>d9,Content:()=>wT,Description:()=>DT,Error:()=>ST,ErrorWrapper:()=>m9,Header:()=>ET,Overlay:()=>c9,Row:()=>f9,Title:()=>xT});qy();const{deprecate:gT}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var Sn=l.forwardRef(({asChild:e=!1,animation:t="none",size:r="small",variant:n="outline",padding:a="medium",disabled:o=!1,active:i=!1,onClick:s,...c},d)=>{let p="button";c.isLink&&(p="a"),e&&(p=Bl);let m=n,h=r,[f,v]=l.useState(!1),g=u(w=>{s&&s(w),t!=="none"&&v(!0)},"handleClick");if(l.useEffect(()=>{let w=setTimeout(()=>{f&&v(!1)},1e3);return()=>clearTimeout(w)},[f]),c.primary&&(m="solid",h="medium"),(c.secondary||c.tertiary||c.gray||c.outline||c.inForm)&&(m="outline",h="medium"),c.small||c.isLink||c.primary||c.secondary||c.tertiary||c.gray||c.outline||c.inForm||c.containsIcon){let w=y.Children.toArray(c.children).filter(x=>typeof x=="string"&&x!=="");gT(`Use of deprecated props in the button ${w.length>0?`"${w.join(" ")}"`:"component"} detected, see the migration notes at https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#new-ui-and-props-for-button-and-iconbutton-components`)}return y.createElement(vT,{as:p,ref:d,variant:m,size:h,padding:a,disabled:o,active:i,animating:f,animation:t,onClick:g,...c})});Sn.displayName="Button";var vT=F("button",{shouldForwardProp:u(e=>X1(e),"shouldForwardProp")})(({theme:e,variant:t,size:r,disabled:n,active:a,animating:o,animation:i="none",padding:s})=>({border:0,cursor:n?"not-allowed":"pointer",display:"inline-flex",gap:"6px",alignItems:"center",justifyContent:"center",overflow:"hidden",padding:s==="small"&&r==="small"?"0 7px":s==="small"&&r==="medium"?"0 9px":r==="small"?"0 10px":r==="medium"?"0 12px":0,height:r==="small"?"28px":"32px",position:"relative",textAlign:"center",textDecoration:"none",transitionProperty:"background, box-shadow",transitionDuration:"150ms",transitionTimingFunction:"ease-out",verticalAlign:"top",whiteSpace:"nowrap",userSelect:"none",opacity:n?.5:1,margin:0,fontSize:`${e.typography.size.s1}px`,fontWeight:e.typography.weight.bold,lineHeight:"1",background:t==="solid"?e.color.secondary:t==="outline"?e.button.background:t==="ghost"&&a?e.background.hoverable:"transparent",...t==="ghost"?{".sb-bar &":{background:a?Ze(.9,e.barTextColor):"transparent",color:a?e.barSelectedColor:e.barTextColor,"&:hover":{color:e.barHoverColor,background:Ze(.86,e.barHoverColor)},"&:active":{color:e.barSelectedColor,background:Ze(.9,e.barSelectedColor)},"&:focus":{boxShadow:`${qo(e.barHoverColor,1)} 0 0 0 1px inset`,outline:"none"}}}:{},color:t==="solid"?e.color.lightest:t==="outline"?e.input.color:t==="ghost"&&a?e.color.secondary:t==="ghost"?e.color.mediumdark:e.input.color,boxShadow:t==="outline"?`${e.button.border} 0 0 0 1px inset`:"none",borderRadius:e.input.borderRadius,flexShrink:0,"&:hover":{color:t==="ghost"?e.color.secondary:void 0,background:(()=>{let c=e.color.secondary;return t==="solid"&&(c=e.color.secondary),t==="outline"&&(c=e.button.background),t==="ghost"?Ze(.86,e.color.secondary):e.base==="light"?Yn(.02,c):t4(.03,c)})()},"&:active":{color:t==="ghost"?e.color.secondary:void 0,background:(()=>{let c=e.color.secondary;return t==="solid"&&(c=e.color.secondary),t==="outline"&&(c=e.button.background),t==="ghost"?e.background.hoverable:e.base==="light"?Yn(.02,c):t4(.03,c)})()},"&:focus":{boxShadow:`${qo(e.color.secondary,1)} 0 0 0 1px inset`,outline:"none"},"> svg":{animation:o&&i!=="none"?`${e.animation[i]} 1000ms ease-out`:""}})),sn=l.forwardRef(({padding:e="small",variant:t="ghost",...r},n)=>y.createElement(Sn,{padding:e,variant:t,ref:n,...r}));sn.displayName="IconButton";var u9=sr({from:{opacity:0},to:{opacity:1}}),yT=sr({from:{maxHeight:0},to:{}}),bT=sr({from:{opacity:0,transform:"translate(-50%, -50%) scale(0.9)"},to:{opacity:1,transform:"translate(-50%, -50%) scale(1)"}}),c9=F.div({backdropFilter:"blur(24px)",position:"fixed",inset:0,width:"100%",height:"100%",zIndex:10,animation:`${u9} 200ms`}),d9=F.div(({theme:e,width:t,height:r})=>({backgroundColor:e.background.bar,borderRadius:6,boxShadow:"0px 4px 67px 0px #00000040",position:"fixed",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:t??740,height:r??"auto",maxWidth:"calc(100% - 40px)",maxHeight:"85vh",overflow:"hidden",zIndex:11,animation:`${bT} 200ms`,"&:focus-visible":{outline:"none"}})),p9=u(e=>y.createElement(l9,{asChild:!0},y.createElement(sn,{...e},y.createElement(Y8,null))),"CloseButton"),wT=F.div({display:"flex",flexDirection:"column",margin:16,gap:16}),f9=F.div({display:"flex",justifyContent:"space-between",gap:16}),h9=F.div({display:"flex",flexDirection:"column",gap:4}),ET=u(e=>y.createElement(f9,null,y.createElement(h9,{...e}),y.createElement(p9,null)),"Header"),xT=F(o9)(({theme:e})=>({margin:0,fontSize:e.typography.size.s3,fontWeight:e.typography.weight.bold})),DT=F(i9)(({theme:e})=>({position:"relative",zIndex:1,margin:0,fontSize:e.typography.size.s2})),CT=F.div({display:"flex",flexDirection:"row-reverse",gap:8}),m9=F.div(({theme:e})=>({maxHeight:100,overflow:"auto",animation:`${yT} 300ms, ${u9} 300ms`,backgroundColor:e.background.critical,color:e.color.lightest,fontSize:e.typography.size.s2,"& > div":{position:"relative",padding:"8px 16px"}})),ST=u(({children:e,...t})=>y.createElement(m9,{...t},y.createElement("div",null,e)),"Error");function g9({children:e,width:t,height:r,onEscapeKeyDown:n,onInteractOutside:a=u(c=>c.preventDefault(),"onInteractOutside"),className:o,container:i,...s}){return y.createElement(t9,{...s},y.createElement(r9,{container:i},y.createElement(n9,{asChild:!0},y.createElement(c9,null)),y.createElement(a9,{asChild:!0,onInteractOutside:a,onEscapeKeyDown:n},y.createElement(d9,{className:o,width:t,height:r},e))))}u(g9,"BaseModal");var xV=Object.assign(g9,s9,{Dialog:Z8}),kT=u(e=>typeof e=="number"?e:Number(e),"toNumber"),AT=F.div(({theme:e,col:t,row:r=1})=>t?{display:"inline-block",verticalAlign:"inherit","& > *":{marginLeft:t*e.layoutMargin,verticalAlign:"inherit"},[`& > *:first-child${nd}`]:{marginLeft:0}}:{"& > *":{marginTop:r*e.layoutMargin},[`& > *:first-child${nd}`]:{marginTop:0}},({theme:e,outer:t,col:r,row:n})=>{switch(!0){case!!(t&&r):return{marginLeft:t*e.layoutMargin,marginRight:t*e.layoutMargin};case!!(t&&n):return{marginTop:t*e.layoutMargin,marginBottom:t*e.layoutMargin};default:return{}}}),DV=u(({col:e,row:t,outer:r,children:n,...a})=>{let o=kT(typeof r=="number"||!r?r:e||t);return y.createElement(AT,{col:e,row:t,outer:o,...a},n)},"Spaced"),FT=F.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),_T=F.div(),RT=F.div(({theme:e})=>({padding:30,textAlign:"center",color:e.color.defaultText,fontSize:e.typography.size.s2-1})),CV=u(({children:e,...t})=>{let[r,n]=l.Children.toArray(e);return y.createElement(RT,{...t},y.createElement(FT,null,r),n&&y.createElement(_T,null,n))},"Placeholder");Sp();function v9(e,t){var r=l.useRef(null),n=l.useRef(null);n.current=t;var a=l.useRef(null);l.useEffect(function(){o()});var o=l.useCallback(function(){var i=a.current,s=n.current,c=i||(s?s instanceof Element?s:s.current:null);r.current&&r.current.element===c&&r.current.subscriber===e||(r.current&&r.current.cleanup&&r.current.cleanup(),r.current={element:c,subscriber:e,cleanup:c?e(c):void 0})},[e]);return l.useEffect(function(){return function(){r.current&&r.current.cleanup&&(r.current.cleanup(),r.current=null)}},[]),l.useCallback(function(i){a.current=i,o()},[o])}u(v9,"useResolvedElement");function R1(e,t,r){return e[t]?e[t][0]?e[t][0][r]:e[t][r]:t==="contentBoxSize"?e.contentRect[r==="inlineSize"?"width":"height"]:void 0}u(R1,"extractSize");function Wf(e){e===void 0&&(e={});var t=e.onResize,r=l.useRef(void 0);r.current=t;var n=e.round||Math.round,a=l.useRef(),o=l.useState({width:void 0,height:void 0}),i=o[0],s=o[1],c=l.useRef(!1);l.useEffect(function(){return c.current=!1,function(){c.current=!0}},[]);var d=l.useRef({width:void 0,height:void 0}),p=v9(l.useCallback(function(m){return(!a.current||a.current.box!==e.box||a.current.round!==n)&&(a.current={box:e.box,round:n,instance:new ResizeObserver(function(h){var f=h[0],v=e.box==="border-box"?"borderBoxSize":e.box==="device-pixel-content-box"?"devicePixelContentBoxSize":"contentBoxSize",g=R1(f,v,"inlineSize"),w=R1(f,v,"blockSize"),x=g?n(g):void 0,D=w?n(w):void 0;if(d.current.width!==x||d.current.height!==D){var E={width:x,height:D};d.current.width=x,d.current.height=D,r.current?r.current(E):c.current||s(E)}})}),a.current.instance.observe(m,{box:e.box}),function(){a.current&&a.current.instance.unobserve(m)}},[e.box,n]),e.ref);return l.useMemo(function(){return{ref:p,width:i.width,height:i.height}},[p,i.width,i.height])}u(Wf,"useResizeObserver");var IT=F.div(({scale:e=1,elementHeight:t})=>({height:t||"auto",transformOrigin:"top left",transform:`scale(${1/e})`}));function y9({scale:e,children:t}){let r=l.useRef(null),[n,a]=l.useState(0),o=l.useCallback(({height:i})=>{i&&a(i/e)},[e]);return l.useEffect(()=>{r.current&&a(r.current.getBoundingClientRect().height)},[e]),Wf({ref:r,onResize:o}),y.createElement(IT,{scale:e,elementHeight:n},y.createElement("div",{ref:r,className:"innerZoomElementWrapper"},t))}u(y9,"ZoomElement");var b9=class extends l.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{iFrameRef:t}=this.props;this.iframe=t.current}shouldComponentUpdate(t){let{scale:r,active:n}=this.props;return r!==t.scale&&this.setIframeInnerZoom(t.scale),n!==t.active&&this.iframe.setAttribute("data-is-storybook",t.active?"true":"false"),t.children.props.src!==this.props.children.props.src}setIframeInnerZoom(t){try{Object.assign(this.iframe.contentDocument.body.style,{width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"})}catch{this.setIframeZoom(t)}}setIframeZoom(t){Object.assign(this.iframe.style,{width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"})}render(){let{children:t}=this.props;return y.createElement(y.Fragment,null,t)}};u(b9,"ZoomIFrame");var BT=b9,TT={Element:y9,IFrame:BT};hp();var{document:zT}=Ss,LT=F.strong(({theme:e})=>({color:e.color.orange})),OT=F.strong(({theme:e})=>({color:e.color.ancillary,textDecoration:"underline"})),u4=F.em(({theme:e})=>({color:e.textMutedColor})),MT=/(Error): (.*)\n/,PT=/at (?:(.*) )?\(?(.+)\)?/,$T=/([^@]+)?(?:\/<)?@(.+)?/,NT=/([^@]+)?@(.+)?/,HT=u(({error:e})=>{if(!e)return y.createElement(l.Fragment,null,"This error has no stack or message");if(!e.stack)return y.createElement(l.Fragment,null,e.message||"This error has no stack or message");let t=e.stack.toString();t&&e.message&&!t.includes(e.message)&&(t=`Error: ${e.message} @@ -521,7 +521,7 @@ ${t}`);let r=t.match(MT);if(!r)return y.createElement(l.Fragment,null,t);let[,n, padding: 11px 1rem; white-space: pre-wrap; background: rgba(0, 0, 0, 0.05); - color: ${j.darkest}; + color: ${H.darkest}; border-radius: 3px; margin: 1rem 0; width: 100%; @@ -529,7 +529,7 @@ ${t}`);let r=t.match(MT);if(!r)return y.createElement(l.Fragment,null,t);let[,n, overflow: hidden; font-family: ${Lt.fonts.mono}; font-size: ${Lt.size.s2-1}px; -`,PV=u(({code:e,...t})=>y.createElement(dL,{id:"clipboard-code",...t},e),"ClipboardCode"),pL=q8,fL={};Object.keys(q8).forEach(e=>{fL[e]=l.forwardRef((t,r)=>l.createElement(e,{...t,ref:r}))});var hL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M6 3.5a.5.5 0 01.5.5v1.5H8a.5.5 0 010 1H6.5V8a.5.5 0 01-1 0V6.5H4a.5.5 0 010-1h1.5V4a.5.5 0 01.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z",fill:e}))),mL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4 5.5a.5.5 0 000 1h4a.5.5 0 000-1H4z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 11.5c1.35 0 2.587-.487 3.544-1.294a.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 106 11.5zm0-1a4.5 4.5 0 100-9 4.5 4.5 0 000 9z",fill:e}))),gL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.5 2.837V1.5a.5.5 0 00-1 0V4a.5.5 0 00.5.5h2.5a.5.5 0 000-1H2.258a4.5 4.5 0 11-.496 4.016.5.5 0 10-.942.337 5.502 5.502 0 008.724 2.353.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 101.5 2.837z",fill:e}))),vL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 9.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7l-.21.293C13.669 7.465 10.739 11.5 7 11.5S.332 7.465.21 7.293L0 7l.21-.293C.331 6.536 3.261 2.5 7 2.5s6.668 4.036 6.79 4.207L14 7zM2.896 5.302A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5c1.518 0 2.958-.83 4.104-1.802A12.72 12.72 0 0012.755 7c-.297-.37-.875-1.04-1.65-1.698C9.957 4.33 8.517 3.5 7 3.5c-1.519 0-2.958.83-4.104 1.802z",fill:e}))),yL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11zM11.104 8.698c-.177.15-.362.298-.553.439l.714.714a13.25 13.25 0 002.526-2.558L14 7l-.21-.293C13.669 6.536 10.739 2.5 7 2.5c-.89 0-1.735.229-2.506.58l.764.763A4.859 4.859 0 017 3.5c1.518 0 2.958.83 4.104 1.802A12.724 12.724 0 0112.755 7a12.72 12.72 0 01-1.65 1.698zM.21 6.707c.069-.096 1.03-1.42 2.525-2.558l.714.714c-.191.141-.376.288-.553.439A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5a4.86 4.86 0 001.742-.344l.764.764c-.772.351-1.616.58-2.506.58C3.262 11.5.332 7.465.21 7.293L0 7l.21-.293z",fill:e}),l.createElement("path",{d:"M4.5 7c0-.322.061-.63.172-.914l3.242 3.242A2.5 2.5 0 014.5 7zM9.328 7.914L6.086 4.672a2.5 2.5 0 013.241 3.241z",fill:e}))),bL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.5 10a.5.5 0 100-1 .5.5 0 000 1z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 4a2 2 0 012-2h6a2 2 0 012 2v.5l3.189-2.391A.5.5 0 0114 2.5v9a.5.5 0 01-.804.397L10 9.5v.5a2 2 0 01-2 2H2a2 2 0 01-2-2V4zm9 0v1.5a.5.5 0 00.8.4L13 3.5v7L9.8 8.1a.5.5 0 00-.8.4V10a1 1 0 01-1 1H2a1 1 0 01-1-1V4a1 1 0 011-1h6a1 1 0 011 1z",fill:e}))),z1=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4 5.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zM4.5 7.5a.5.5 0 000 1h5a.5.5 0 000-1h-5zM4 10.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 0a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h11a.5.5 0 00.5-.5V3.207a.5.5 0 00-.146-.353L10.146.146A.5.5 0 009.793 0H1.5zM2 1h7.5v2a.5.5 0 00.5.5h2V13H2V1z",fill:e}))),$V=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M8.982 1.632a.5.5 0 00-.964-.263l-3 11a.5.5 0 10.964.263l3-11zM3.32 3.616a.5.5 0 01.064.704L1.151 7l2.233 2.68a.5.5 0 11-.768.64l-2.5-3a.5.5 0 010-.64l2.5-3a.5.5 0 01.704-.064zM10.68 3.616a.5.5 0 00-.064.704L12.849 7l-2.233 2.68a.5.5 0 00.768.64l2.5-3a.5.5 0 000-.64l-2.5-3a.5.5 0 00-.704-.064z",fill:e}))),wL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 3a.5.5 0 01.5.5v3h3a.5.5 0 010 1h-3v3a.5.5 0 01-1 0v-3h-3a.5.5 0 010-1h3v-3A.5.5 0 017 3z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),EL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),xL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.841 2.159a2.25 2.25 0 00-3.182 0l-2.5 2.5a2.25 2.25 0 000 3.182.5.5 0 01-.707.707 3.25 3.25 0 010-4.596l2.5-2.5a3.25 3.25 0 014.596 4.596l-2.063 2.063a4.27 4.27 0 00-.094-1.32l1.45-1.45a2.25 2.25 0 000-3.182z",fill:e}),l.createElement("path",{d:"M3.61 7.21c-.1-.434-.132-.88-.095-1.321L1.452 7.952a3.25 3.25 0 104.596 4.596l2.5-2.5a3.25 3.25 0 000-4.596.5.5 0 00-.707.707 2.25 2.25 0 010 3.182l-2.5 2.5A2.25 2.25 0 112.159 8.66l1.45-1.45z",fill:e}))),DL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.146 4.604l5.5 5.5a.5.5 0 00.708 0l5.5-5.5a.5.5 0 00-.708-.708L7 9.043 1.854 3.896a.5.5 0 10-.708.708z",fill:e}))),CL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.104 7.354l-5.5 5.5a.5.5 0 01-.708-.708L10.043 7 4.896 1.854a.5.5 0 11.708-.708l5.5 5.5a.5.5 0 010 .708z",fill:e}))),SL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.854 9.104a.5.5 0 11-.708-.708l3.5-3.5a.5.5 0 01.708 0l3.5 3.5a.5.5 0 01-.708.708L7 5.957 3.854 9.104z",fill:e}))),B9=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.854 4.896a.5.5 0 10-.708.708l3.5 3.5a.5.5 0 00.708 0l3.5-3.5a.5.5 0 00-.708-.708L7 8.043 3.854 4.896z",fill:e}))),kL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.146 3.854a.5.5 0 010-.708l2-2a.5.5 0 11.708.708L2.707 3h6.295A4 4 0 019 11H3a.5.5 0 010-1h6a3 3 0 100-6H2.707l1.147 1.146a.5.5 0 11-.708.708l-2-2z",fill:e})));const{deprecate:AL,once:FL,logger:Xf}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{filterArgTypes:v4,composeConfigs:NV,Preview:HV,DocsContext:jV}=__STORYBOOK_MODULE_PREVIEW_API__,{STORY_ARGS_UPDATED:y4,UPDATE_STORY_ARGS:_L,RESET_STORY_ARGS:RL,GLOBALS_UPDATED:b4,NAVIGATE_URL:IL}=__STORYBOOK_MODULE_CORE_EVENTS__,{Channel:VV}=__STORYBOOK_MODULE_CHANNELS__;var T9=mn({"../../node_modules/memoizerific/memoizerific.js"(e,t){(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return function r(n,a,o){function i(d,p){if(!a[d]){if(!n[d]){var m=typeof xi=="function"&ξif(!p&&m)return m(d,!0);if(s)return s(d,!0);var h=new Error("Cannot find module '"+d+"'");throw h.code="MODULE_NOT_FOUND",h}var f=a[d]={exports:{}};n[d][0].call(f.exports,function(v){var g=n[d][1][v];return i(g||v)},f,f.exports,r,n,a,o)}return a[d].exports}for(var s=typeof xi=="function"&&xi,c=0;c =0)return this.lastItem=this.list[s],this.list[s].val},o.prototype.set=function(i,s){var c;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=s,this):(c=this.indexOf(i),c>=0?(this.lastItem=this.list[c],this.list[c].val=s,this):(this.lastItem={key:i,val:s},this.list.push(this.lastItem),this.size++,this))},o.prototype.delete=function(i){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),s=this.indexOf(i),s>=0)return this.size--,this.list.splice(s,1)[0]},o.prototype.has=function(i){var s;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(s=this.indexOf(i),s>=0?(this.lastItem=this.list[s],!0):!1)},o.prototype.forEach=function(i,s){var c;for(c=0;c 0&&(D[x]={cacheItem:v,arg:arguments[x]},E?i(m,D):m.push(D),m.length>d&&s(m.shift())),f.wasMemoized=E,f.numArgs=x+1,w};return f.limit=d,f.wasMemoized=!1,f.cache=p,f.lru=m,f}};function i(d,p){var m=d.length,h=p.length,f,v,g;for(v=0;v =0&&(m=d[f],h=m.cacheItem.get(m.arg),!h||!h.size);f--)m.cacheItem.delete(m.arg)}function c(d,p){return d===p||d!==d&&p!==p}},{"map-or-similar":1}]},{},[3])(3)})}}),BL=mn({"../../node_modules/tocbot/src/js/default-options.js"(e,t){t.exports={tocSelector:".js-toc",contentSelector:".js-toc-content",headingSelector:"h1, h2, h3",ignoreSelector:".js-toc-ignore",hasInnerContainers:!1,linkClass:"toc-link",extraLinkClasses:"",activeLinkClass:"is-active-link",listClass:"toc-list",extraListClasses:"",isCollapsedClass:"is-collapsed",collapsibleClass:"is-collapsible",listItemClass:"toc-list-item",activeListItemClass:"is-active-li",collapseDepth:0,scrollSmooth:!0,scrollSmoothDuration:420,scrollSmoothOffset:0,scrollEndCallback:function(r){},headingsOffset:1,throttleTimeout:50,positionFixedSelector:null,positionFixedClass:"is-position-fixed",fixedSidebarOffset:"auto",includeHtml:!1,includeTitleTags:!1,onClick:function(r){},orderedList:!0,scrollContainer:null,skipRendering:!1,headingLabelCallback:!1,ignoreHiddenElements:!1,headingObjectCallback:null,basePath:"",disableTocScrollSync:!1,tocScrollOffset:0}}}),TL=mn({"../../node_modules/tocbot/src/js/build-html.js"(e,t){t.exports=function(r){var n=[].forEach,a=[].some,o=document.body,i,s=!0,c=" ";function d(b,C){var S=C.appendChild(m(b));if(b.children.length){var k=h(b.isCollapsed);b.children.forEach(function(A){d(A,k)}),S.appendChild(k)}}function p(b,C){var S=!1,k=h(S);if(C.forEach(function(A){d(A,k)}),i=b||i,i!==null)return i.firstChild&&i.removeChild(i.firstChild),C.length===0?i:i.appendChild(k)}function m(b){var C=document.createElement("li"),S=document.createElement("a");return r.listItemClass&&C.setAttribute("class",r.listItemClass),r.onClick&&(S.onclick=r.onClick),r.includeTitleTags&&S.setAttribute("title",b.textContent),r.includeHtml&&b.childNodes.length?n.call(b.childNodes,function(k){S.appendChild(k.cloneNode(!0))}):S.textContent=b.textContent,S.setAttribute("href",r.basePath+"#"+b.id),S.setAttribute("class",r.linkClass+c+"node-name--"+b.nodeName+c+r.extraLinkClasses),C.appendChild(S),C}function h(b){var C=r.orderedList?"ol":"ul",S=document.createElement(C),k=r.listClass+c+r.extraListClasses;return b&&(k=k+c+r.collapsibleClass,k=k+c+r.isCollapsedClass),S.setAttribute("class",k),S}function f(){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var b;b=document.querySelector(r.scrollContainer).scrollTop}else b=document.documentElement.scrollTop||o.scrollTop;var C=document.querySelector(r.positionFixedSelector);r.fixedSidebarOffset==="auto"&&(r.fixedSidebarOffset=i.offsetTop),b>r.fixedSidebarOffset?C.className.indexOf(r.positionFixedClass)===-1&&(C.className+=c+r.positionFixedClass):C.className=C.className.replace(c+r.positionFixedClass,"")}function v(b){var C=0;return b!==null&&(C=b.offsetTop,r.hasInnerContainers&&(C+=v(b.offsetParent))),C}function g(b,C){return b&&b.className!==C&&(b.className=C),b}function w(b){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var C;C=document.querySelector(r.scrollContainer).scrollTop}else C=document.documentElement.scrollTop||o.scrollTop;r.positionFixedSelector&&f();var S=b,k;if(s&&i!==null&&S.length>0){a.call(S,function(M,O){if(v(M)>C+r.headingsOffset+10){var P=O===0?O:O-1;return k=S[P],!0}else if(O===S.length-1)return k=S[S.length-1],!0});var A=i.querySelector("."+r.activeLinkClass),_=i.querySelector("."+r.linkClass+".node-name--"+k.nodeName+'[href="'+r.basePath+"#"+k.id.replace(/([ #;&,.+*~':"!^$[\]()=>|/\\@])/g,"\\$1")+'"]');if(A===_)return;var I=i.querySelectorAll("."+r.linkClass);n.call(I,function(M){g(M,M.className.replace(c+r.activeLinkClass,""))});var B=i.querySelectorAll("."+r.listItemClass);n.call(B,function(M){g(M,M.className.replace(c+r.activeListItemClass,""))}),_&&_.className.indexOf(r.activeLinkClass)===-1&&(_.className+=c+r.activeLinkClass);var z=_&&_.parentNode;z&&z.className.indexOf(r.activeListItemClass)===-1&&(z.className+=c+r.activeListItemClass);var L=i.querySelectorAll("."+r.listClass+"."+r.collapsibleClass);n.call(L,function(M){M.className.indexOf(r.isCollapsedClass)===-1&&(M.className+=c+r.isCollapsedClass)}),_&&_.nextSibling&&_.nextSibling.className.indexOf(r.isCollapsedClass)!==-1&&g(_.nextSibling,_.nextSibling.className.replace(c+r.isCollapsedClass,"")),x(_&&_.parentNode.parentNode)}}function x(b){return b&&b.className.indexOf(r.collapsibleClass)!==-1&&b.className.indexOf(r.isCollapsedClass)!==-1?(g(b,b.className.replace(c+r.isCollapsedClass,"")),x(b.parentNode.parentNode)):b}function D(b){var C=b.target||b.srcElement;typeof C.className!="string"||C.className.indexOf(r.linkClass)===-1||(s=!1)}function E(){s=!0}return{enableTocAnimation:E,disableTocAnimation:D,render:p,updateToc:w}}}}),zL=mn({"../../node_modules/tocbot/src/js/parse-content.js"(e,t){t.exports=function(r){var n=[].reduce;function a(m){return m[m.length-1]}function o(m){return+m.nodeName.toUpperCase().replace("H","")}function i(m){try{return m instanceof window.HTMLElement||m instanceof window.parent.HTMLElement}catch{return m instanceof window.HTMLElement}}function s(m){if(!i(m))return m;if(r.ignoreHiddenElements&&(!m.offsetHeight||!m.offsetParent))return null;let h=m.getAttribute("data-heading-label")||(r.headingLabelCallback?String(r.headingLabelCallback(m.innerText)):(m.innerText||m.textContent).trim());var f={id:m.id,children:[],nodeName:m.nodeName,headingLevel:o(m),textContent:h};return r.includeHtml&&(f.childNodes=m.childNodes),r.headingObjectCallback?r.headingObjectCallback(f,m):f}function c(m,h){for(var f=s(m),v=f.headingLevel,g=h,w=a(g),x=w?w.headingLevel:0,D=v-x;D>0&&(w=a(g),!(w&&v===w.headingLevel));)w&&w.children!==void 0&&(g=w.children),D--;return v>=r.collapseDepth&&(f.isCollapsed=!0),g.push(f),g}function d(m,h){var f=h;r.ignoreSelector&&(f=h.split(",").map(function(v){return v.trim()+":not("+r.ignoreSelector+")"}));try{return m.querySelectorAll(f)}catch{return console.warn("Headers not found with selector: "+f),null}}function p(m){return n.call(m,function(h,f){var v=s(f);return v&&c(v,h.nest),h},{nest:[]})}return{nestHeadingsArray:p,selectHeadings:d}}}}),LL=mn({"../../node_modules/tocbot/src/js/update-toc-scroll.js"(e,t){t.exports=function(r){var n=r.tocElement||document.querySelector(r.tocSelector);if(n&&n.scrollHeight>n.clientHeight){var a=n.querySelector("."+r.activeListItemClass);a&&(n.scrollTop=a.offsetTop-r.tocScrollOffset)}}}}),OL=mn({"../../node_modules/tocbot/src/js/scroll-smooth/index.js"(e){e.initSmoothScrolling=t;function t(n){var a=n.duration,o=n.offset,i=location.hash?d(location.href):location.href;s();function s(){document.body.addEventListener("click",m,!1);function m(h){!c(h.target)||h.target.className.indexOf("no-smooth-scroll")>-1||h.target.href.charAt(h.target.href.length-2)==="#"&&h.target.href.charAt(h.target.href.length-1)==="!"||h.target.className.indexOf(n.linkClass)===-1||r(h.target.hash,{duration:a,offset:o,callback:function(){p(h.target.hash)}})}}function c(m){return m.tagName.toLowerCase()==="a"&&(m.hash.length>0||m.href.charAt(m.href.length-1)==="#")&&(d(m.href)===i||d(m.href)+"#"===i)}function d(m){return m.slice(0,m.lastIndexOf("#"))}function p(m){var h=document.getElementById(m.substring(1));h&&(/^(?:a|select|input|button|textarea)$/i.test(h.tagName)||(h.tabIndex=-1),h.focus())}}function r(n,a){var o=window.pageYOffset,i={duration:a.duration,offset:a.offset||0,callback:a.callback,easing:a.easing||v},s=document.querySelector('[id="'+decodeURI(n).split("#").join("")+'"]')||document.querySelector('[id="'+n.split("#").join("")+'"]'),c=typeof n=="string"?i.offset+(n?s&&s.getBoundingClientRect().top||0:-(document.documentElement.scrollTop||document.body.scrollTop)):n,d=typeof i.duration=="function"?i.duration(c):i.duration,p,m;requestAnimationFrame(function(g){p=g,h(g)});function h(g){m=g-p,window.scrollTo(0,i.easing(m,o,c,d)),m "u"&&!m)return;var h,f=Object.prototype.hasOwnProperty;function v(){for(var D={},E=0;E y.createElement(dL,{id:"clipboard-code",...t},e),"ClipboardCode"),pL=q8,fL={};Object.keys(q8).forEach(e=>{fL[e]=l.forwardRef((t,r)=>l.createElement(e,{...t,ref:r}))});var hL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M6 3.5a.5.5 0 01.5.5v1.5H8a.5.5 0 010 1H6.5V8a.5.5 0 01-1 0V6.5H4a.5.5 0 010-1h1.5V4a.5.5 0 01.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z",fill:e}))),mL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4 5.5a.5.5 0 000 1h4a.5.5 0 000-1H4z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 11.5c1.35 0 2.587-.487 3.544-1.294a.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 106 11.5zm0-1a4.5 4.5 0 100-9 4.5 4.5 0 000 9z",fill:e}))),gL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.5 2.837V1.5a.5.5 0 00-1 0V4a.5.5 0 00.5.5h2.5a.5.5 0 000-1H2.258a4.5 4.5 0 11-.496 4.016.5.5 0 10-.942.337 5.502 5.502 0 008.724 2.353.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 101.5 2.837z",fill:e}))),vL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 9.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7l-.21.293C13.669 7.465 10.739 11.5 7 11.5S.332 7.465.21 7.293L0 7l.21-.293C.331 6.536 3.261 2.5 7 2.5s6.668 4.036 6.79 4.207L14 7zM2.896 5.302A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5c1.518 0 2.958-.83 4.104-1.802A12.72 12.72 0 0012.755 7c-.297-.37-.875-1.04-1.65-1.698C9.957 4.33 8.517 3.5 7 3.5c-1.519 0-2.958.83-4.104 1.802z",fill:e}))),yL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11zM11.104 8.698c-.177.15-.362.298-.553.439l.714.714a13.25 13.25 0 002.526-2.558L14 7l-.21-.293C13.669 6.536 10.739 2.5 7 2.5c-.89 0-1.735.229-2.506.58l.764.763A4.859 4.859 0 017 3.5c1.518 0 2.958.83 4.104 1.802A12.724 12.724 0 0112.755 7a12.72 12.72 0 01-1.65 1.698zM.21 6.707c.069-.096 1.03-1.42 2.525-2.558l.714.714c-.191.141-.376.288-.553.439A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5a4.86 4.86 0 001.742-.344l.764.764c-.772.351-1.616.58-2.506.58C3.262 11.5.332 7.465.21 7.293L0 7l.21-.293z",fill:e}),l.createElement("path",{d:"M4.5 7c0-.322.061-.63.172-.914l3.242 3.242A2.5 2.5 0 014.5 7zM9.328 7.914L6.086 4.672a2.5 2.5 0 013.241 3.241z",fill:e}))),bL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.5 10a.5.5 0 100-1 .5.5 0 000 1z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 4a2 2 0 012-2h6a2 2 0 012 2v.5l3.189-2.391A.5.5 0 0114 2.5v9a.5.5 0 01-.804.397L10 9.5v.5a2 2 0 01-2 2H2a2 2 0 01-2-2V4zm9 0v1.5a.5.5 0 00.8.4L13 3.5v7L9.8 8.1a.5.5 0 00-.8.4V10a1 1 0 01-1 1H2a1 1 0 01-1-1V4a1 1 0 011-1h6a1 1 0 011 1z",fill:e}))),z1=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4 5.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zM4.5 7.5a.5.5 0 000 1h5a.5.5 0 000-1h-5zM4 10.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 0a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h11a.5.5 0 00.5-.5V3.207a.5.5 0 00-.146-.353L10.146.146A.5.5 0 009.793 0H1.5zM2 1h7.5v2a.5.5 0 00.5.5h2V13H2V1z",fill:e}))),$V=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M8.982 1.632a.5.5 0 00-.964-.263l-3 11a.5.5 0 10.964.263l3-11zM3.32 3.616a.5.5 0 01.064.704L1.151 7l2.233 2.68a.5.5 0 11-.768.64l-2.5-3a.5.5 0 010-.64l2.5-3a.5.5 0 01.704-.064zM10.68 3.616a.5.5 0 00-.064.704L12.849 7l-2.233 2.68a.5.5 0 00.768.64l2.5-3a.5.5 0 000-.64l-2.5-3a.5.5 0 00-.704-.064z",fill:e}))),wL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 3a.5.5 0 01.5.5v3h3a.5.5 0 010 1h-3v3a.5.5 0 01-1 0v-3h-3a.5.5 0 010-1h3v-3A.5.5 0 017 3z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),EL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),xL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.841 2.159a2.25 2.25 0 00-3.182 0l-2.5 2.5a2.25 2.25 0 000 3.182.5.5 0 01-.707.707 3.25 3.25 0 010-4.596l2.5-2.5a3.25 3.25 0 014.596 4.596l-2.063 2.063a4.27 4.27 0 00-.094-1.32l1.45-1.45a2.25 2.25 0 000-3.182z",fill:e}),l.createElement("path",{d:"M3.61 7.21c-.1-.434-.132-.88-.095-1.321L1.452 7.952a3.25 3.25 0 104.596 4.596l2.5-2.5a3.25 3.25 0 000-4.596.5.5 0 00-.707.707 2.25 2.25 0 010 3.182l-2.5 2.5A2.25 2.25 0 112.159 8.66l1.45-1.45z",fill:e}))),DL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.146 4.604l5.5 5.5a.5.5 0 00.708 0l5.5-5.5a.5.5 0 00-.708-.708L7 9.043 1.854 3.896a.5.5 0 10-.708.708z",fill:e}))),CL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.104 7.354l-5.5 5.5a.5.5 0 01-.708-.708L10.043 7 4.896 1.854a.5.5 0 11.708-.708l5.5 5.5a.5.5 0 010 .708z",fill:e}))),SL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.854 9.104a.5.5 0 11-.708-.708l3.5-3.5a.5.5 0 01.708 0l3.5 3.5a.5.5 0 01-.708.708L7 5.957 3.854 9.104z",fill:e}))),B9=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.854 4.896a.5.5 0 10-.708.708l3.5 3.5a.5.5 0 00.708 0l3.5-3.5a.5.5 0 00-.708-.708L7 8.043 3.854 4.896z",fill:e}))),kL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.146 3.854a.5.5 0 010-.708l2-2a.5.5 0 11.708.708L2.707 3h6.295A4 4 0 019 11H3a.5.5 0 010-1h6a3 3 0 100-6H2.707l1.147 1.146a.5.5 0 11-.708.708l-2-2z",fill:e})));const{deprecate:AL,once:FL,logger:Xf}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{filterArgTypes:v4,composeConfigs:NV,Preview:HV,DocsContext:jV}=__STORYBOOK_MODULE_PREVIEW_API__,{STORY_ARGS_UPDATED:y4,UPDATE_STORY_ARGS:_L,RESET_STORY_ARGS:RL,GLOBALS_UPDATED:b4,NAVIGATE_URL:IL}=__STORYBOOK_MODULE_CORE_EVENTS__;__STORYBOOK_MODULE_CHANNELS__;var T9=mn({"../../node_modules/memoizerific/memoizerific.js"(e,t){(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return function r(n,a,o){function i(d,p){if(!a[d]){if(!n[d]){var m=typeof xi=="function"&ξif(!p&&m)return m(d,!0);if(s)return s(d,!0);var h=new Error("Cannot find module '"+d+"'");throw h.code="MODULE_NOT_FOUND",h}var f=a[d]={exports:{}};n[d][0].call(f.exports,function(v){var g=n[d][1][v];return i(g||v)},f,f.exports,r,n,a,o)}return a[d].exports}for(var s=typeof xi=="function"&&xi,c=0;c =0)return this.lastItem=this.list[s],this.list[s].val},o.prototype.set=function(i,s){var c;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=s,this):(c=this.indexOf(i),c>=0?(this.lastItem=this.list[c],this.list[c].val=s,this):(this.lastItem={key:i,val:s},this.list.push(this.lastItem),this.size++,this))},o.prototype.delete=function(i){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),s=this.indexOf(i),s>=0)return this.size--,this.list.splice(s,1)[0]},o.prototype.has=function(i){var s;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(s=this.indexOf(i),s>=0?(this.lastItem=this.list[s],!0):!1)},o.prototype.forEach=function(i,s){var c;for(c=0;c 0&&(D[x]={cacheItem:v,arg:arguments[x]},E?i(m,D):m.push(D),m.length>d&&s(m.shift())),f.wasMemoized=E,f.numArgs=x+1,w};return f.limit=d,f.wasMemoized=!1,f.cache=p,f.lru=m,f}};function i(d,p){var m=d.length,h=p.length,f,v,g;for(v=0;v =0&&(m=d[f],h=m.cacheItem.get(m.arg),!h||!h.size);f--)m.cacheItem.delete(m.arg)}function c(d,p){return d===p||d!==d&&p!==p}},{"map-or-similar":1}]},{},[3])(3)})}}),BL=mn({"../../node_modules/tocbot/src/js/default-options.js"(e,t){t.exports={tocSelector:".js-toc",contentSelector:".js-toc-content",headingSelector:"h1, h2, h3",ignoreSelector:".js-toc-ignore",hasInnerContainers:!1,linkClass:"toc-link",extraLinkClasses:"",activeLinkClass:"is-active-link",listClass:"toc-list",extraListClasses:"",isCollapsedClass:"is-collapsed",collapsibleClass:"is-collapsible",listItemClass:"toc-list-item",activeListItemClass:"is-active-li",collapseDepth:0,scrollSmooth:!0,scrollSmoothDuration:420,scrollSmoothOffset:0,scrollEndCallback:function(r){},headingsOffset:1,throttleTimeout:50,positionFixedSelector:null,positionFixedClass:"is-position-fixed",fixedSidebarOffset:"auto",includeHtml:!1,includeTitleTags:!1,onClick:function(r){},orderedList:!0,scrollContainer:null,skipRendering:!1,headingLabelCallback:!1,ignoreHiddenElements:!1,headingObjectCallback:null,basePath:"",disableTocScrollSync:!1,tocScrollOffset:0}}}),TL=mn({"../../node_modules/tocbot/src/js/build-html.js"(e,t){t.exports=function(r){var n=[].forEach,a=[].some,o=document.body,i,s=!0,c=" ";function d(b,C){var S=C.appendChild(m(b));if(b.children.length){var k=h(b.isCollapsed);b.children.forEach(function(A){d(A,k)}),S.appendChild(k)}}function p(b,C){var S=!1,k=h(S);if(C.forEach(function(A){d(A,k)}),i=b||i,i!==null)return i.firstChild&&i.removeChild(i.firstChild),C.length===0?i:i.appendChild(k)}function m(b){var C=document.createElement("li"),S=document.createElement("a");return r.listItemClass&&C.setAttribute("class",r.listItemClass),r.onClick&&(S.onclick=r.onClick),r.includeTitleTags&&S.setAttribute("title",b.textContent),r.includeHtml&&b.childNodes.length?n.call(b.childNodes,function(k){S.appendChild(k.cloneNode(!0))}):S.textContent=b.textContent,S.setAttribute("href",r.basePath+"#"+b.id),S.setAttribute("class",r.linkClass+c+"node-name--"+b.nodeName+c+r.extraLinkClasses),C.appendChild(S),C}function h(b){var C=r.orderedList?"ol":"ul",S=document.createElement(C),k=r.listClass+c+r.extraListClasses;return b&&(k=k+c+r.collapsibleClass,k=k+c+r.isCollapsedClass),S.setAttribute("class",k),S}function f(){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var b;b=document.querySelector(r.scrollContainer).scrollTop}else b=document.documentElement.scrollTop||o.scrollTop;var C=document.querySelector(r.positionFixedSelector);r.fixedSidebarOffset==="auto"&&(r.fixedSidebarOffset=i.offsetTop),b>r.fixedSidebarOffset?C.className.indexOf(r.positionFixedClass)===-1&&(C.className+=c+r.positionFixedClass):C.className=C.className.replace(c+r.positionFixedClass,"")}function v(b){var C=0;return b!==null&&(C=b.offsetTop,r.hasInnerContainers&&(C+=v(b.offsetParent))),C}function g(b,C){return b&&b.className!==C&&(b.className=C),b}function w(b){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var C;C=document.querySelector(r.scrollContainer).scrollTop}else C=document.documentElement.scrollTop||o.scrollTop;r.positionFixedSelector&&f();var S=b,k;if(s&&i!==null&&S.length>0){a.call(S,function(M,O){if(v(M)>C+r.headingsOffset+10){var P=O===0?O:O-1;return k=S[P],!0}else if(O===S.length-1)return k=S[S.length-1],!0});var A=i.querySelector("."+r.activeLinkClass),_=i.querySelector("."+r.linkClass+".node-name--"+k.nodeName+'[href="'+r.basePath+"#"+k.id.replace(/([ #;&,.+*~':"!^$[\]()=>|/\\@])/g,"\\$1")+'"]');if(A===_)return;var I=i.querySelectorAll("."+r.linkClass);n.call(I,function(M){g(M,M.className.replace(c+r.activeLinkClass,""))});var B=i.querySelectorAll("."+r.listItemClass);n.call(B,function(M){g(M,M.className.replace(c+r.activeListItemClass,""))}),_&&_.className.indexOf(r.activeLinkClass)===-1&&(_.className+=c+r.activeLinkClass);var z=_&&_.parentNode;z&&z.className.indexOf(r.activeListItemClass)===-1&&(z.className+=c+r.activeListItemClass);var L=i.querySelectorAll("."+r.listClass+"."+r.collapsibleClass);n.call(L,function(M){M.className.indexOf(r.isCollapsedClass)===-1&&(M.className+=c+r.isCollapsedClass)}),_&&_.nextSibling&&_.nextSibling.className.indexOf(r.isCollapsedClass)!==-1&&g(_.nextSibling,_.nextSibling.className.replace(c+r.isCollapsedClass,"")),x(_&&_.parentNode.parentNode)}}function x(b){return b&&b.className.indexOf(r.collapsibleClass)!==-1&&b.className.indexOf(r.isCollapsedClass)!==-1?(g(b,b.className.replace(c+r.isCollapsedClass,"")),x(b.parentNode.parentNode)):b}function D(b){var C=b.target||b.srcElement;typeof C.className!="string"||C.className.indexOf(r.linkClass)===-1||(s=!1)}function E(){s=!0}return{enableTocAnimation:E,disableTocAnimation:D,render:p,updateToc:w}}}}),zL=mn({"../../node_modules/tocbot/src/js/parse-content.js"(e,t){t.exports=function(r){var n=[].reduce;function a(m){return m[m.length-1]}function o(m){return+m.nodeName.toUpperCase().replace("H","")}function i(m){try{return m instanceof window.HTMLElement||m instanceof window.parent.HTMLElement}catch{return m instanceof window.HTMLElement}}function s(m){if(!i(m))return m;if(r.ignoreHiddenElements&&(!m.offsetHeight||!m.offsetParent))return null;let h=m.getAttribute("data-heading-label")||(r.headingLabelCallback?String(r.headingLabelCallback(m.innerText)):(m.innerText||m.textContent).trim());var f={id:m.id,children:[],nodeName:m.nodeName,headingLevel:o(m),textContent:h};return r.includeHtml&&(f.childNodes=m.childNodes),r.headingObjectCallback?r.headingObjectCallback(f,m):f}function c(m,h){for(var f=s(m),v=f.headingLevel,g=h,w=a(g),x=w?w.headingLevel:0,D=v-x;D>0&&(w=a(g),!(w&&v===w.headingLevel));)w&&w.children!==void 0&&(g=w.children),D--;return v>=r.collapseDepth&&(f.isCollapsed=!0),g.push(f),g}function d(m,h){var f=h;r.ignoreSelector&&(f=h.split(",").map(function(v){return v.trim()+":not("+r.ignoreSelector+")"}));try{return m.querySelectorAll(f)}catch{return console.warn("Headers not found with selector: "+f),null}}function p(m){return n.call(m,function(h,f){var v=s(f);return v&&c(v,h.nest),h},{nest:[]})}return{nestHeadingsArray:p,selectHeadings:d}}}}),LL=mn({"../../node_modules/tocbot/src/js/update-toc-scroll.js"(e,t){t.exports=function(r){var n=r.tocElement||document.querySelector(r.tocSelector);if(n&&n.scrollHeight>n.clientHeight){var a=n.querySelector("."+r.activeListItemClass);a&&(n.scrollTop=a.offsetTop-r.tocScrollOffset)}}}}),OL=mn({"../../node_modules/tocbot/src/js/scroll-smooth/index.js"(e){e.initSmoothScrolling=t;function t(n){var a=n.duration,o=n.offset,i=location.hash?d(location.href):location.href;s();function s(){document.body.addEventListener("click",m,!1);function m(h){!c(h.target)||h.target.className.indexOf("no-smooth-scroll")>-1||h.target.href.charAt(h.target.href.length-2)==="#"&&h.target.href.charAt(h.target.href.length-1)==="!"||h.target.className.indexOf(n.linkClass)===-1||r(h.target.hash,{duration:a,offset:o,callback:function(){p(h.target.hash)}})}}function c(m){return m.tagName.toLowerCase()==="a"&&(m.hash.length>0||m.href.charAt(m.href.length-1)==="#")&&(d(m.href)===i||d(m.href)+"#"===i)}function d(m){return m.slice(0,m.lastIndexOf("#"))}function p(m){var h=document.getElementById(m.substring(1));h&&(/^(?:a|select|input|button|textarea)$/i.test(h.tagName)||(h.tabIndex=-1),h.focus())}}function r(n,a){var o=window.pageYOffset,i={duration:a.duration,offset:a.offset||0,callback:a.callback,easing:a.easing||v},s=document.querySelector('[id="'+decodeURI(n).split("#").join("")+'"]')||document.querySelector('[id="'+n.split("#").join("")+'"]'),c=typeof n=="string"?i.offset+(n?s&&s.getBoundingClientRect().top||0:-(document.documentElement.scrollTop||document.body.scrollTop)):n,d=typeof i.duration=="function"?i.duration(c):i.duration,p,m;requestAnimationFrame(function(g){p=g,h(g)});function h(g){m=g-p,window.scrollTo(0,i.easing(m,o,c,d)),m "u"&&!m)return;var h,f=Object.prototype.hasOwnProperty;function v(){for(var D={},E=0;E 1?a-1:0),i=1;i=0&&a<1?(s=o,c=i):a>=1&&a<2?(s=i,c=o):a>=2&&a<3?(c=o,d=i):a>=3&&a<4?(c=i,d=o):a>=4&&a<5?(s=i,d=o):a>=5&&a<6&&(s=o,d=i);var p=r-o/2,m=s+p,h=c+p,f=d+p;return n(m,h,f)}var w4={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function qL(e){if(typeof e!="string")return e;var t=e.toLowerCase();return w4[t]?"#"+w4[t]:e}var WL=/^#[a-fA-F0-9]{6}$/,GL=/^#[a-fA-F0-9]{8}$/,YL=/^#[a-fA-F0-9]{3}$/,KL=/^#[a-fA-F0-9]{4}$/,j0=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,ZL=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,JL=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,XL=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function du(e){if(typeof e!="string")throw new Mt(3);var t=qL(e);if(t.match(WL))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(GL)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(YL))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(KL)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var a=j0.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=ZL.exec(t.substring(0,50));if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10),alpha:parseFloat(""+o[4])>1?parseFloat(""+o[4])/100:parseFloat(""+o[4])};var i=JL.exec(t);if(i){var s=parseInt(""+i[1],10),c=parseInt(""+i[2],10)/100,d=parseInt(""+i[3],10)/100,p="rgb("+Go(s,c,d)+")",m=j0.exec(p);if(!m)throw new Mt(4,t,p);return{red:parseInt(""+m[1],10),green:parseInt(""+m[2],10),blue:parseInt(""+m[3],10)}}var h=XL.exec(t.substring(0,50));if(h){var f=parseInt(""+h[1],10),v=parseInt(""+h[2],10)/100,g=parseInt(""+h[3],10)/100,w="rgb("+Go(f,v,g)+")",x=j0.exec(w);if(!x)throw new Mt(4,t,w);return{red:parseInt(""+x[1],10),green:parseInt(""+x[2],10),blue:parseInt(""+x[3],10),alpha:parseFloat(""+h[4])>1?parseFloat(""+h[4])/100:parseFloat(""+h[4])}}throw new Mt(5)}function QL(e){var t=e.red/255,r=e.green/255,n=e.blue/255,a=Math.max(t,r,n),o=Math.min(t,r,n),i=(a+o)/2;if(a===o)return e.alpha!==void 0?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var s,c=a-o,d=i>.5?c/(2-a-o):c/(a+o);switch(a){case t:s=(r-n)/c+(r =1?ps(e,t,r):"rgba("+Go(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?ps(e.hue,e.saturation,e.lightness):"rgba("+Go(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Mt(2)}function P1(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return M1("#"+Yr(e)+Yr(t)+Yr(r));if(typeof e=="object"&&t===void 0&&r===void 0)return M1("#"+Yr(e.red)+Yr(e.green)+Yr(e.blue));throw new Mt(6)}function nr(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=du(e);return"rgba("+a.red+","+a.green+","+a.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?P1(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?P1(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Mt(7)}var aO=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},oO=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},iO=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},lO=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"};function O9(e){if(typeof e!="object")throw new Mt(8);if(oO(e))return nr(e);if(aO(e))return P1(e);if(lO(e))return nO(e);if(iO(e))return rO(e);throw new Mt(8)}function M9(e,t,r){return function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):M9(e,t,n)}}function pu(e){return M9(e,e.length,[])}function fu(e,t,r){return Math.max(e,Math.min(t,r))}function sO(e,t){if(t==="transparent")return t;var r=L9(t);return O9(Ca({},r,{lightness:fu(0,1,r.lightness-parseFloat(e))}))}var uO=pu(sO),It=uO;function cO(e,t){if(t==="transparent")return t;var r=L9(t);return O9(Ca({},r,{lightness:fu(0,1,r.lightness+parseFloat(e))}))}var dO=pu(cO),Kr=dO;function pO(e,t){if(t==="transparent")return t;var r=du(t),n=typeof r.alpha=="number"?r.alpha:1,a=Ca({},r,{alpha:fu(0,1,(n*100+parseFloat(e)*100)/100)});return nr(a)}var fO=pu(pO),Zi=fO;function hO(e,t){if(t==="transparent")return t;var r=du(t),n=typeof r.alpha=="number"?r.alpha:1,a=Ca({},r,{alpha:fu(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return nr(a)}var mO=pu(hO),oe=mO,gO=F.div(se,({theme:e})=>({backgroundColor:e.base==="light"?"rgba(0,0,0,.01)":"rgba(255,255,255,.01)",borderRadius:e.appBorderRadius,border:`1px dashed ${e.appBorderColor}`,display:"flex",alignItems:"center",justifyContent:"center",padding:20,margin:"25px 0 40px",color:oe(.3,e.color.defaultText),fontSize:e.typography.size.s2})),P9=e=>y.createElement(gO,{...e,className:"docblock-emptyblock sb-unstyled"}),vO=F(jf)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,lineHeight:"19px",margin:"25px 0 40px",borderRadius:e.appBorderRadius,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}})),yO=F.div(({theme:e})=>({background:e.background.content,borderRadius:e.appBorderRadius,border:`1px solid ${e.appBorderColor}`,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",margin:"25px 0 40px",padding:"20px 20px 20px 22px"})),Ji=F.div(({theme:e})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,height:17,marginTop:1,width:"60%",[`&:first-child${nd}`]:{margin:0}})),bO=()=>y.createElement(yO,null,y.createElement(Ji,null),y.createElement(Ji,{style:{width:"80%"}}),y.createElement(Ji,{style:{width:"30%"}}),y.createElement(Ji,{style:{width:"80%"}})),$9=({isLoading:e,error:t,language:r,code:n,dark:a,format:o=!1,...i})=>{let{typography:s}=D3();if(e)return y.createElement(bO,null);if(t)return y.createElement(P9,null,t);let c=y.createElement(vO,{bordered:!0,copyable:!0,format:o,language:r,className:"docblock-source sb-unstyled",...i},n);if(typeof a>"u")return c;let d=a?td.dark:td.light;return y.createElement(C3,{theme:rd({...d,fontCode:s.fonts.mono,fontBase:s.fonts.base})},c)},he=e=>`& :where(${e}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${e}))`,Qf=600,wO=F.h1(se,({theme:e})=>({color:e.color.defaultText,fontSize:e.typography.size.m3,fontWeight:e.typography.weight.bold,lineHeight:"32px",[`@media (min-width: ${Qf}px)`]:{fontSize:e.typography.size.l1,lineHeight:"36px",marginBottom:"16px"}})),EO=F.h2(se,({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s3,lineHeight:"20px",borderBottom:"none",marginBottom:15,[`@media (min-width: ${Qf}px)`]:{fontSize:e.typography.size.m1,lineHeight:"28px",marginBottom:24},color:oe(.25,e.color.defaultText)})),xO=F.div(({theme:e})=>{let t={fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},r={margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& code":{fontSize:"inherit"}},n={lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:e.typography.size.s2-1,border:e.base==="light"?`1px solid ${e.color.mediumlight}`:`1px solid ${e.color.darker}`,color:e.base==="light"?oe(.1,e.color.defaultText):oe(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border};return{maxWidth:1e3,width:"100%",[he("a")]:{...t,fontSize:"inherit",lineHeight:"24px",color:e.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}},[he("blockquote")]:{...t,margin:"16px 0",borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},[he("div")]:t,[he("dl")]:{...t,margin:"16px 0",padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}},[he("h1")]:{...t,...r,fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},[he("h2")]:{...t,...r,fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`},[he("h3")]:{...t,...r,fontSize:`${e.typography.size.m1}px`,fontWeight:e.typography.weight.bold},[he("h4")]:{...t,...r,fontSize:`${e.typography.size.s3}px`},[he("h5")]:{...t,...r,fontSize:`${e.typography.size.s2}px`},[he("h6")]:{...t,...r,fontSize:`${e.typography.size.s2}px`,color:e.color.dark},[he("hr")]:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},[he("img")]:{maxWidth:"100%"},[he("li")]:{...t,fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":n},[he("ol")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},[he("p")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":n},[he("pre")]:{...t,fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}},[he("span")]:{...t,"&.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}},[he("table")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:e.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:e.base==="dark"?e.color.darker:e.color.lighter},"& tr th":{fontWeight:"bold",color:e.color.defaultText,border:`1px solid ${e.appBorderColor}`,margin:0,padding:"6px 13px"},"& tr td":{border:`1px solid ${e.appBorderColor}`,color:e.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}},[he("ul")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0},listStyle:"disc"}}}),DO=F.div(({theme:e})=>({background:e.background.content,display:"flex",justifyContent:"center",padding:"4rem 20px",minHeight:"100vh",boxSizing:"border-box",gap:"3rem",[`@media (min-width: ${Qf}px)`]:{}})),CO=({children:e,toc:t})=>y.createElement(DO,{className:"sbdocs sbdocs-wrapper"},y.createElement(xO,{className:"sbdocs sbdocs-content"},e),t),hu=e=>({borderRadius:e.appBorderRadius,background:e.background.content,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",border:`1px solid ${e.appBorderColor}`}),{window:SO}=globalThis,kO=class extends l.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{id:e}=this.props;this.iframe=SO.document.getElementById(e)}shouldComponentUpdate(e){let{scale:t}=e;return t!==this.props.scale&&this.setIframeBodyStyle({width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"}),!1}setIframeBodyStyle(e){return Object.assign(this.iframe.contentDocument.body.style,e)}render(){let{id:e,title:t,src:r,allowFullScreen:n,scale:a,...o}=this.props;return y.createElement("iframe",{id:e,title:t,src:r,...n?{allow:"fullscreen"}:{},loading:"lazy",...o})}},N9=l.createContext({scale:1}),{PREVIEW_URL:AO}=globalThis,FO=AO||"iframe.html",$1=({story:e,primary:t})=>`story--${e.id}${t?"--primary":""}`,_O=e=>{let t=l.useRef(),[r,n]=l.useState(!0),[a,o]=l.useState(),{story:i,height:s,autoplay:c,forceInitialArgs:d,renderStoryToElement:p}=e;return l.useEffect(()=>{if(!(i&&t.current))return()=>{};let m=t.current,h=p(i,m,{showMain:()=>{},showError:({title:f,description:v})=>o(new Error(`${f} - ${v}`)),showException:f=>o(f)},{autoplay:c,forceInitialArgs:d});return n(!1),()=>{Promise.resolve().then(()=>h())}},[c,p,i]),a?y.createElement("pre",null,y.createElement(HT,{error:a})):y.createElement(y.Fragment,null,s?y.createElement("style",null,`#${$1(e)} { min-height: ${s}; transform: translateZ(0); overflow: auto }`):null,r&&y.createElement(H9,null),y.createElement("div",{ref:t,id:`${$1(e)}-inner`,"data-name":i.name}))},RO=({story:e,height:t="500px"})=>y.createElement("div",{style:{width:"100%",height:t}},y.createElement(N9.Consumer,null,({scale:r})=>y.createElement(kO,{key:"iframe",id:`iframe--${e.id}`,title:e.name,src:cL(FO,e.id,{viewMode:"story"}),allowFullScreen:!0,scale:r,style:{width:"100%",height:"100%",border:"0 none"}}))),IO=F.strong(({theme:e})=>({color:e.color.orange})),BO=e=>{let{inline:t,story:r}=e;return t&&!e.autoplay&&r.usesMount?y.createElement(IO,null,"This story mounts inside of play. Set"," ",y.createElement("a",{href:"https://storybook.js.org/docs/api/doc-blocks/doc-block-story#autoplay"},"autoplay")," ","to true to view this story."):y.createElement("div",{id:$1(e),className:"sb-story sb-unstyled","data-story-block":"true"},t?y.createElement(_O,{...e}):y.createElement(RO,{...e}))},H9=()=>y.createElement(uL,null),TO=F(Jf)({position:"absolute",left:0,right:0,top:0,transition:"transform .2s linear"}),zO=F.div({display:"flex",alignItems:"center",gap:4}),LO=F.div(({theme:e})=>({width:14,height:14,borderRadius:2,margin:"0 7px",backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),OO=({isLoading:e,storyId:t,baseUrl:r,zoom:n,resetZoom:a,...o})=>y.createElement(TO,{...o},y.createElement(zO,{key:"left"},e?[1,2,3].map(i=>y.createElement(LO,{key:i})):y.createElement(y.Fragment,null,y.createElement(sn,{key:"zoomin",onClick:i=>{i.preventDefault(),n(.8)},title:"Zoom in"},y.createElement(hL,null)),y.createElement(sn,{key:"zoomout",onClick:i=>{i.preventDefault(),n(1.25)},title:"Zoom out"},y.createElement(mL,null)),y.createElement(sn,{key:"zoomreset",onClick:i=>{i.preventDefault(),a()},title:"Reset zoom"},y.createElement(gL,null))))),MO=F.div(({isColumn:e,columns:t,layout:r})=>({display:e||!t?"block":"flex",position:"relative",flexWrap:"wrap",overflow:"auto",flexDirection:e?"column":"row","& .innerZoomElementWrapper > *":e?{width:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"block"}:{maxWidth:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"inline-block"}}),({layout:e="padded"})=>e==="centered"||e==="padded"?{padding:"30px 20px","& .innerZoomElementWrapper > *":{width:"auto",border:"10px solid transparent!important"}}:{},({layout:e="padded"})=>e==="centered"?{display:"flex",justifyContent:"center",justifyItems:"center",alignContent:"center",alignItems:"center"}:{},({columns:e})=>e&&e>1?{".innerZoomElementWrapper > *":{minWidth:`calc(100% / ${e} - 20px)`}}:{}),E4=F($9)(({theme:e})=>({margin:0,borderTopLeftRadius:0,borderTopRightRadius:0,borderBottomLeftRadius:e.appBorderRadius,borderBottomRightRadius:e.appBorderRadius,border:"none",background:e.base==="light"?"rgba(0, 0, 0, 0.85)":It(.05,e.background.content),color:e.color.lightest,button:{background:e.base==="light"?"rgba(0, 0, 0, 0.85)":It(.05,e.background.content)}})),PO=F.div(({theme:e,withSource:t,isExpanded:r})=>({position:"relative",overflow:"hidden",margin:"25px 0 40px",...hu(e),borderBottomLeftRadius:t&&r&&0,borderBottomRightRadius:t&&r&&0,borderBottomWidth:r&&0,"h3 + &":{marginTop:"16px"}}),({withToolbar:e})=>e&&{paddingTop:40}),$O=(e,t,r)=>{switch(!0){case!!(e&&e.error):return{source:null,actionItem:{title:"No code available",className:"docblock-code-toggle docblock-code-toggle--disabled",disabled:!0,onClick:()=>r(!1)}};case t:return{source:y.createElement(E4,{...e,dark:!0}),actionItem:{title:"Hide code",className:"docblock-code-toggle docblock-code-toggle--expanded",onClick:()=>r(!1)}};default:return{source:y.createElement(E4,{...e,dark:!0}),actionItem:{title:"Show code",className:"docblock-code-toggle",onClick:()=>r(!0)}}}};function NO(e){if(l.Children.count(e)===1){let t=e;if(t.props)return t.props.id}return null}var HO=F(OO)({position:"absolute",top:0,left:0,right:0,height:40}),jO=F.div({overflow:"hidden",position:"relative"}),j9=({isLoading:e,isColumn:t,columns:r,children:n,withSource:a,withToolbar:o=!1,isExpanded:i=!1,additionalActions:s,className:c,layout:d="padded",...p})=>{let[m,h]=l.useState(i),{source:f,actionItem:v}=$O(a,m,h),[g,w]=l.useState(1),x=[c].concat(["sbdocs","sbdocs-preview","sb-unstyled"]),D=a?[v]:[],[E,b]=l.useState(s?[...s]:[]),C=[...D,...E],{window:S}=globalThis,k=l.useCallback(async _=>{let{createCopyToClipboardFunction:I}=await G4(()=>import("./index-DsSkJi2X.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8]),import.meta.url);I()},[]),A=_=>{let I=S.getSelection();I&&I.type==="Range"||(_.preventDefault(),E.filter(B=>B.title==="Copied").length===0&&k(f.props.code).then(()=>{b([...E,{title:"Copied",onClick:()=>{}}]),S.setTimeout(()=>b(E.filter(B=>B.title!=="Copied")),1500)}))};return y.createElement(PO,{withSource:a,withToolbar:o,...p,className:x.join(" ")},o&&y.createElement(HO,{isLoading:e,border:!0,zoom:_=>w(g*_),resetZoom:()=>w(1),storyId:NO(n),baseUrl:"./iframe.html"}),y.createElement(N9.Provider,{value:{scale:g}},y.createElement(jO,{className:"docs-story",onCopyCapture:a&&A},y.createElement(MO,{isColumn:t||!Array.isArray(n),columns:r,layout:d},y.createElement(TT.Element,{scale:g},Array.isArray(n)?n.map((_,I)=>y.createElement("div",{key:I},_)):y.createElement("div",null,n))),y.createElement(Dp,{actionItems:C}))),a&&m&&f)};F(j9)(()=>({".docs-story":{paddingTop:32,paddingBottom:40}}));function Jr(){return Jr=Object.assign?Object.assign.bind():function(e){for(var t=1;t (e[t.toLowerCase()]=t,e),{for:"htmlFor"}),S4={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},UO=["style","script"],qO=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,WO=/mailto:/i,GO=/\n{2,}$/,V9=/^(\s*>[\s\S]*?)(?=\n{2,})/,YO=/^ *> ?/gm,KO=/^ {2,}\n/,ZO=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,U9=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,q9=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,JO=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,XO=/^(?:\n *)*\n/,QO=/\r\n?/g,eM=/^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/,tM=/^\[\^([^\]]+)]/,rM=/\f/g,nM=/^---[ \t]*\n(.|\n)*\n---[ \t]*\n/,aM=/^\s*?\[(x|\s)\]/,W9=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,G9=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,Y9=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,N1=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i,oM=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,K9=/^)/,iM=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,H1=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,lM=/^\{.*\}$/,sM=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,uM=/^<([^ >]+@[^ >]+)>/,cM=/^<([^ >]+:\/[^ >]+)>/,dM=/-([a-z])?/gi,Z9=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,pM=/^\[([^\]]*)\]:\s+([^\s>]+)>?\s*("([^"]*)")?/,fM=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,hM=/^\[([^\]]*)\] ?\[([^\]]*)\]/,mM=/(\[|\])/g,gM=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,vM=/\t/g,yM=/^ *\| */,bM=/(^ *\||\| *$)/g,wM=/ *$/,EM=/^ *:-+: *$/,xM=/^ *:-+ *$/,DM=/^ *-+: *$/,mu="((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~~.*?~~|==.*?==|.|\\n)*?)",CM=new RegExp(`^([*_])\\1${mu}\\1\\1(?!\\1)`),SM=new RegExp(`^([*_])${mu}\\1(?!\\1|\\w)`),kM=new RegExp(`^==${mu}==`),AM=new RegExp(`^~~${mu}~~`),FM=/^\\([^0-9A-Za-z\s])/,_M=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,RM=/^\n+/,IM=/^([ \t]*)/,BM=/\\([^\\])/g,k4=/ *\n+$/,TM=/(?:^|\n)( *)$/,eh="(?:\\d+\\.)",th="(?:[*+-])";function J9(e){return"( *)("+(e===1?eh:th)+") +"}var X9=J9(1),Q9=J9(2);function ex(e){return new RegExp("^"+(e===1?X9:Q9))}var zM=ex(1),LM=ex(2);function tx(e){return new RegExp("^"+(e===1?X9:Q9)+"[^\\n]*(?:\\n(?!\\1"+(e===1?eh:th)+" )[^\\n]*)*(\\n|$)","gm")}var rx=tx(1),nx=tx(2);function ax(e){let t=e===1?eh:th;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}var ox=ax(1),ix=ax(2);function A4(e,t){let r=t===1,n=r?ox:ix,a=r?rx:nx,o=r?zM:LM;return{match(i,s,c){let d=TM.exec(c);return d&&(s.list||!s.inline&&!s.simple)?n.exec(i=d[1]+i):null},order:1,parse(i,s,c){let d=r?+i[2]:void 0,p=i[0].replace(GO,` +`};function VL(){for(var e=arguments.length,t=new Array(e),r=0;r 1?a-1:0),i=1;i=0&&a<1?(s=o,c=i):a>=1&&a<2?(s=i,c=o):a>=2&&a<3?(c=o,d=i):a>=3&&a<4?(c=i,d=o):a>=4&&a<5?(s=i,d=o):a>=5&&a<6&&(s=o,d=i);var p=r-o/2,m=s+p,h=c+p,f=d+p;return n(m,h,f)}var w4={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function qL(e){if(typeof e!="string")return e;var t=e.toLowerCase();return w4[t]?"#"+w4[t]:e}var WL=/^#[a-fA-F0-9]{6}$/,GL=/^#[a-fA-F0-9]{8}$/,YL=/^#[a-fA-F0-9]{3}$/,KL=/^#[a-fA-F0-9]{4}$/,j0=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,ZL=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,JL=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,XL=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function du(e){if(typeof e!="string")throw new Mt(3);var t=qL(e);if(t.match(WL))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(GL)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(YL))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(KL)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var a=j0.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=ZL.exec(t.substring(0,50));if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10),alpha:parseFloat(""+o[4])>1?parseFloat(""+o[4])/100:parseFloat(""+o[4])};var i=JL.exec(t);if(i){var s=parseInt(""+i[1],10),c=parseInt(""+i[2],10)/100,d=parseInt(""+i[3],10)/100,p="rgb("+Go(s,c,d)+")",m=j0.exec(p);if(!m)throw new Mt(4,t,p);return{red:parseInt(""+m[1],10),green:parseInt(""+m[2],10),blue:parseInt(""+m[3],10)}}var h=XL.exec(t.substring(0,50));if(h){var f=parseInt(""+h[1],10),v=parseInt(""+h[2],10)/100,g=parseInt(""+h[3],10)/100,w="rgb("+Go(f,v,g)+")",x=j0.exec(w);if(!x)throw new Mt(4,t,w);return{red:parseInt(""+x[1],10),green:parseInt(""+x[2],10),blue:parseInt(""+x[3],10),alpha:parseFloat(""+h[4])>1?parseFloat(""+h[4])/100:parseFloat(""+h[4])}}throw new Mt(5)}function QL(e){var t=e.red/255,r=e.green/255,n=e.blue/255,a=Math.max(t,r,n),o=Math.min(t,r,n),i=(a+o)/2;if(a===o)return e.alpha!==void 0?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var s,c=a-o,d=i>.5?c/(2-a-o):c/(a+o);switch(a){case t:s=(r-n)/c+(r =1?ps(e,t,r):"rgba("+Go(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?ps(e.hue,e.saturation,e.lightness):"rgba("+Go(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Mt(2)}function P1(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return M1("#"+Yr(e)+Yr(t)+Yr(r));if(typeof e=="object"&&t===void 0&&r===void 0)return M1("#"+Yr(e.red)+Yr(e.green)+Yr(e.blue));throw new Mt(6)}function nr(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=du(e);return"rgba("+a.red+","+a.green+","+a.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?P1(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?P1(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Mt(7)}var aO=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},oO=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},iO=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},lO=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"};function O9(e){if(typeof e!="object")throw new Mt(8);if(oO(e))return nr(e);if(aO(e))return P1(e);if(lO(e))return nO(e);if(iO(e))return rO(e);throw new Mt(8)}function M9(e,t,r){return function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):M9(e,t,n)}}function pu(e){return M9(e,e.length,[])}function fu(e,t,r){return Math.max(e,Math.min(t,r))}function sO(e,t){if(t==="transparent")return t;var r=L9(t);return O9(Ca({},r,{lightness:fu(0,1,r.lightness-parseFloat(e))}))}var uO=pu(sO),It=uO;function cO(e,t){if(t==="transparent")return t;var r=L9(t);return O9(Ca({},r,{lightness:fu(0,1,r.lightness+parseFloat(e))}))}var dO=pu(cO),Kr=dO;function pO(e,t){if(t==="transparent")return t;var r=du(t),n=typeof r.alpha=="number"?r.alpha:1,a=Ca({},r,{alpha:fu(0,1,(n*100+parseFloat(e)*100)/100)});return nr(a)}var fO=pu(pO),Zi=fO;function hO(e,t){if(t==="transparent")return t;var r=du(t),n=typeof r.alpha=="number"?r.alpha:1,a=Ca({},r,{alpha:fu(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return nr(a)}var mO=pu(hO),oe=mO,gO=F.div(se,({theme:e})=>({backgroundColor:e.base==="light"?"rgba(0,0,0,.01)":"rgba(255,255,255,.01)",borderRadius:e.appBorderRadius,border:`1px dashed ${e.appBorderColor}`,display:"flex",alignItems:"center",justifyContent:"center",padding:20,margin:"25px 0 40px",color:oe(.3,e.color.defaultText),fontSize:e.typography.size.s2})),P9=e=>y.createElement(gO,{...e,className:"docblock-emptyblock sb-unstyled"}),vO=F(jf)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,lineHeight:"19px",margin:"25px 0 40px",borderRadius:e.appBorderRadius,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}})),yO=F.div(({theme:e})=>({background:e.background.content,borderRadius:e.appBorderRadius,border:`1px solid ${e.appBorderColor}`,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",margin:"25px 0 40px",padding:"20px 20px 20px 22px"})),Ji=F.div(({theme:e})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,height:17,marginTop:1,width:"60%",[`&:first-child${nd}`]:{margin:0}})),bO=()=>y.createElement(yO,null,y.createElement(Ji,null),y.createElement(Ji,{style:{width:"80%"}}),y.createElement(Ji,{style:{width:"30%"}}),y.createElement(Ji,{style:{width:"80%"}})),$9=({isLoading:e,error:t,language:r,code:n,dark:a,format:o=!1,...i})=>{let{typography:s}=D3();if(e)return y.createElement(bO,null);if(t)return y.createElement(P9,null,t);let c=y.createElement(vO,{bordered:!0,copyable:!0,format:o,language:r,className:"docblock-source sb-unstyled",...i},n);if(typeof a>"u")return c;let d=a?td.dark:td.light;return y.createElement(C3,{theme:rd({...d,fontCode:s.fonts.mono,fontBase:s.fonts.base})},c)},he=e=>`& :where(${e}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${e}))`,Qf=600,wO=F.h1(se,({theme:e})=>({color:e.color.defaultText,fontSize:e.typography.size.m3,fontWeight:e.typography.weight.bold,lineHeight:"32px",[`@media (min-width: ${Qf}px)`]:{fontSize:e.typography.size.l1,lineHeight:"36px",marginBottom:"16px"}})),EO=F.h2(se,({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s3,lineHeight:"20px",borderBottom:"none",marginBottom:15,[`@media (min-width: ${Qf}px)`]:{fontSize:e.typography.size.m1,lineHeight:"28px",marginBottom:24},color:oe(.25,e.color.defaultText)})),xO=F.div(({theme:e})=>{let t={fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},r={margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& code":{fontSize:"inherit"}},n={lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:e.typography.size.s2-1,border:e.base==="light"?`1px solid ${e.color.mediumlight}`:`1px solid ${e.color.darker}`,color:e.base==="light"?oe(.1,e.color.defaultText):oe(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border};return{maxWidth:1e3,width:"100%",[he("a")]:{...t,fontSize:"inherit",lineHeight:"24px",color:e.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}},[he("blockquote")]:{...t,margin:"16px 0",borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},[he("div")]:t,[he("dl")]:{...t,margin:"16px 0",padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}},[he("h1")]:{...t,...r,fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},[he("h2")]:{...t,...r,fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`},[he("h3")]:{...t,...r,fontSize:`${e.typography.size.m1}px`,fontWeight:e.typography.weight.bold},[he("h4")]:{...t,...r,fontSize:`${e.typography.size.s3}px`},[he("h5")]:{...t,...r,fontSize:`${e.typography.size.s2}px`},[he("h6")]:{...t,...r,fontSize:`${e.typography.size.s2}px`,color:e.color.dark},[he("hr")]:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},[he("img")]:{maxWidth:"100%"},[he("li")]:{...t,fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":n},[he("ol")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},[he("p")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":n},[he("pre")]:{...t,fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}},[he("span")]:{...t,"&.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}},[he("table")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:e.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:e.base==="dark"?e.color.darker:e.color.lighter},"& tr th":{fontWeight:"bold",color:e.color.defaultText,border:`1px solid ${e.appBorderColor}`,margin:0,padding:"6px 13px"},"& tr td":{border:`1px solid ${e.appBorderColor}`,color:e.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}},[he("ul")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0},listStyle:"disc"}}}),DO=F.div(({theme:e})=>({background:e.background.content,display:"flex",justifyContent:"center",padding:"4rem 20px",minHeight:"100vh",boxSizing:"border-box",gap:"3rem",[`@media (min-width: ${Qf}px)`]:{}})),CO=({children:e,toc:t})=>y.createElement(DO,{className:"sbdocs sbdocs-wrapper"},y.createElement(xO,{className:"sbdocs sbdocs-content"},e),t),hu=e=>({borderRadius:e.appBorderRadius,background:e.background.content,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",border:`1px solid ${e.appBorderColor}`}),{window:SO}=globalThis,kO=class extends l.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{id:e}=this.props;this.iframe=SO.document.getElementById(e)}shouldComponentUpdate(e){let{scale:t}=e;return t!==this.props.scale&&this.setIframeBodyStyle({width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"}),!1}setIframeBodyStyle(e){return Object.assign(this.iframe.contentDocument.body.style,e)}render(){let{id:e,title:t,src:r,allowFullScreen:n,scale:a,...o}=this.props;return y.createElement("iframe",{id:e,title:t,src:r,...n?{allow:"fullscreen"}:{},loading:"lazy",...o})}},N9=l.createContext({scale:1}),{PREVIEW_URL:AO}=globalThis,FO=AO||"iframe.html",$1=({story:e,primary:t})=>`story--${e.id}${t?"--primary":""}`,_O=e=>{let t=l.useRef(),[r,n]=l.useState(!0),[a,o]=l.useState(),{story:i,height:s,autoplay:c,forceInitialArgs:d,renderStoryToElement:p}=e;return l.useEffect(()=>{if(!(i&&t.current))return()=>{};let m=t.current,h=p(i,m,{showMain:()=>{},showError:({title:f,description:v})=>o(new Error(`${f} - ${v}`)),showException:f=>o(f)},{autoplay:c,forceInitialArgs:d});return n(!1),()=>{Promise.resolve().then(()=>h())}},[c,p,i]),a?y.createElement("pre",null,y.createElement(HT,{error:a})):y.createElement(y.Fragment,null,s?y.createElement("style",null,`#${$1(e)} { min-height: ${s}; transform: translateZ(0); overflow: auto }`):null,r&&y.createElement(H9,null),y.createElement("div",{ref:t,id:`${$1(e)}-inner`,"data-name":i.name}))},RO=({story:e,height:t="500px"})=>y.createElement("div",{style:{width:"100%",height:t}},y.createElement(N9.Consumer,null,({scale:r})=>y.createElement(kO,{key:"iframe",id:`iframe--${e.id}`,title:e.name,src:cL(FO,e.id,{viewMode:"story"}),allowFullScreen:!0,scale:r,style:{width:"100%",height:"100%",border:"0 none"}}))),IO=F.strong(({theme:e})=>({color:e.color.orange})),BO=e=>{let{inline:t,story:r}=e;return t&&!e.autoplay&&r.usesMount?y.createElement(IO,null,"This story mounts inside of play. Set"," ",y.createElement("a",{href:"https://storybook.js.org/docs/api/doc-blocks/doc-block-story#autoplay"},"autoplay")," ","to true to view this story."):y.createElement("div",{id:$1(e),className:"sb-story sb-unstyled","data-story-block":"true"},t?y.createElement(_O,{...e}):y.createElement(RO,{...e}))},H9=()=>y.createElement(uL,null),TO=F(Jf)({position:"absolute",left:0,right:0,top:0,transition:"transform .2s linear"}),zO=F.div({display:"flex",alignItems:"center",gap:4}),LO=F.div(({theme:e})=>({width:14,height:14,borderRadius:2,margin:"0 7px",backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),OO=({isLoading:e,storyId:t,baseUrl:r,zoom:n,resetZoom:a,...o})=>y.createElement(TO,{...o},y.createElement(zO,{key:"left"},e?[1,2,3].map(i=>y.createElement(LO,{key:i})):y.createElement(y.Fragment,null,y.createElement(sn,{key:"zoomin",onClick:i=>{i.preventDefault(),n(.8)},title:"Zoom in"},y.createElement(hL,null)),y.createElement(sn,{key:"zoomout",onClick:i=>{i.preventDefault(),n(1.25)},title:"Zoom out"},y.createElement(mL,null)),y.createElement(sn,{key:"zoomreset",onClick:i=>{i.preventDefault(),a()},title:"Reset zoom"},y.createElement(gL,null))))),MO=F.div(({isColumn:e,columns:t,layout:r})=>({display:e||!t?"block":"flex",position:"relative",flexWrap:"wrap",overflow:"auto",flexDirection:e?"column":"row","& .innerZoomElementWrapper > *":e?{width:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"block"}:{maxWidth:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"inline-block"}}),({layout:e="padded"})=>e==="centered"||e==="padded"?{padding:"30px 20px","& .innerZoomElementWrapper > *":{width:"auto",border:"10px solid transparent!important"}}:{},({layout:e="padded"})=>e==="centered"?{display:"flex",justifyContent:"center",justifyItems:"center",alignContent:"center",alignItems:"center"}:{},({columns:e})=>e&&e>1?{".innerZoomElementWrapper > *":{minWidth:`calc(100% / ${e} - 20px)`}}:{}),E4=F($9)(({theme:e})=>({margin:0,borderTopLeftRadius:0,borderTopRightRadius:0,borderBottomLeftRadius:e.appBorderRadius,borderBottomRightRadius:e.appBorderRadius,border:"none",background:e.base==="light"?"rgba(0, 0, 0, 0.85)":It(.05,e.background.content),color:e.color.lightest,button:{background:e.base==="light"?"rgba(0, 0, 0, 0.85)":It(.05,e.background.content)}})),PO=F.div(({theme:e,withSource:t,isExpanded:r})=>({position:"relative",overflow:"hidden",margin:"25px 0 40px",...hu(e),borderBottomLeftRadius:t&&r&&0,borderBottomRightRadius:t&&r&&0,borderBottomWidth:r&&0,"h3 + &":{marginTop:"16px"}}),({withToolbar:e})=>e&&{paddingTop:40}),$O=(e,t,r)=>{switch(!0){case!!(e&&e.error):return{source:null,actionItem:{title:"No code available",className:"docblock-code-toggle docblock-code-toggle--disabled",disabled:!0,onClick:()=>r(!1)}};case t:return{source:y.createElement(E4,{...e,dark:!0}),actionItem:{title:"Hide code",className:"docblock-code-toggle docblock-code-toggle--expanded",onClick:()=>r(!1)}};default:return{source:y.createElement(E4,{...e,dark:!0}),actionItem:{title:"Show code",className:"docblock-code-toggle",onClick:()=>r(!0)}}}};function NO(e){if(l.Children.count(e)===1){let t=e;if(t.props)return t.props.id}return null}var HO=F(OO)({position:"absolute",top:0,left:0,right:0,height:40}),jO=F.div({overflow:"hidden",position:"relative"}),j9=({isLoading:e,isColumn:t,columns:r,children:n,withSource:a,withToolbar:o=!1,isExpanded:i=!1,additionalActions:s,className:c,layout:d="padded",...p})=>{let[m,h]=l.useState(i),{source:f,actionItem:v}=$O(a,m,h),[g,w]=l.useState(1),x=[c].concat(["sbdocs","sbdocs-preview","sb-unstyled"]),D=a?[v]:[],[E,b]=l.useState(s?[...s]:[]),C=[...D,...E],{window:S}=globalThis,k=l.useCallback(async _=>{let{createCopyToClipboardFunction:I}=await G4(()=>import("./index-DrdFt2-s.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8]),import.meta.url);I()},[]),A=_=>{let I=S.getSelection();I&&I.type==="Range"||(_.preventDefault(),E.filter(B=>B.title==="Copied").length===0&&k(f.props.code).then(()=>{b([...E,{title:"Copied",onClick:()=>{}}]),S.setTimeout(()=>b(E.filter(B=>B.title!=="Copied")),1500)}))};return y.createElement(PO,{withSource:a,withToolbar:o,...p,className:x.join(" ")},o&&y.createElement(HO,{isLoading:e,border:!0,zoom:_=>w(g*_),resetZoom:()=>w(1),storyId:NO(n),baseUrl:"./iframe.html"}),y.createElement(N9.Provider,{value:{scale:g}},y.createElement(jO,{className:"docs-story",onCopyCapture:a&&A},y.createElement(MO,{isColumn:t||!Array.isArray(n),columns:r,layout:d},y.createElement(TT.Element,{scale:g},Array.isArray(n)?n.map((_,I)=>y.createElement("div",{key:I},_)):y.createElement("div",null,n))),y.createElement(Dp,{actionItems:C}))),a&&m&&f)};F(j9)(()=>({".docs-story":{paddingTop:32,paddingBottom:40}}));function Jr(){return Jr=Object.assign?Object.assign.bind():function(e){for(var t=1;t (e[t.toLowerCase()]=t,e),{for:"htmlFor"}),S4={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},UO=["style","script"],qO=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,WO=/mailto:/i,GO=/\n{2,}$/,V9=/^(\s*>[\s\S]*?)(?=\n{2,})/,YO=/^ *> ?/gm,KO=/^ {2,}\n/,ZO=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,U9=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,q9=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,JO=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,XO=/^(?:\n *)*\n/,QO=/\r\n?/g,eM=/^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/,tM=/^\[\^([^\]]+)]/,rM=/\f/g,nM=/^---[ \t]*\n(.|\n)*\n---[ \t]*\n/,aM=/^\s*?\[(x|\s)\]/,W9=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,G9=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,Y9=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,N1=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i,oM=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,K9=/^)/,iM=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,H1=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,lM=/^\{.*\}$/,sM=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,uM=/^<([^ >]+@[^ >]+)>/,cM=/^<([^ >]+:\/[^ >]+)>/,dM=/-([a-z])?/gi,Z9=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,pM=/^\[([^\]]*)\]:\s+([^\s>]+)>?\s*("([^"]*)")?/,fM=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,hM=/^\[([^\]]*)\] ?\[([^\]]*)\]/,mM=/(\[|\])/g,gM=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,vM=/\t/g,yM=/^ *\| */,bM=/(^ *\||\| *$)/g,wM=/ *$/,EM=/^ *:-+: *$/,xM=/^ *:-+ *$/,DM=/^ *-+: *$/,mu="((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~~.*?~~|==.*?==|.|\\n)*?)",CM=new RegExp(`^([*_])\\1${mu}\\1\\1(?!\\1)`),SM=new RegExp(`^([*_])${mu}\\1(?!\\1|\\w)`),kM=new RegExp(`^==${mu}==`),AM=new RegExp(`^~~${mu}~~`),FM=/^\\([^0-9A-Za-z\s])/,_M=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,RM=/^\n+/,IM=/^([ \t]*)/,BM=/\\([^\\])/g,k4=/ *\n+$/,TM=/(?:^|\n)( *)$/,eh="(?:\\d+\\.)",th="(?:[*+-])";function J9(e){return"( *)("+(e===1?eh:th)+") +"}var X9=J9(1),Q9=J9(2);function ex(e){return new RegExp("^"+(e===1?X9:Q9))}var zM=ex(1),LM=ex(2);function tx(e){return new RegExp("^"+(e===1?X9:Q9)+"[^\\n]*(?:\\n(?!\\1"+(e===1?eh:th)+" )[^\\n]*)*(\\n|$)","gm")}var rx=tx(1),nx=tx(2);function ax(e){let t=e===1?eh:th;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}var ox=ax(1),ix=ax(2);function A4(e,t){let r=t===1,n=r?ox:ix,a=r?rx:nx,o=r?zM:LM;return{match(i,s,c){let d=TM.exec(c);return d&&(s.list||!s.inline&&!s.simple)?n.exec(i=d[1]+i):null},order:1,parse(i,s,c){let d=r?+i[2]:void 0,p=i[0].replace(GO,` `).match(a),m=!1;return{items:p.map(function(h,f){let v=o.exec(h)[0].length,g=new RegExp("^ {1,"+v+"}","gm"),w=h.replace(g,"").replace(o,""),x=f===p.length-1,D=w.indexOf(` `)!==-1||x&&m;m=D;let E=c.inline,b=c.list,C;c.list=!0,D?(c.inline=!1,C=w.replace(k4,` @@ -690,7 +690,7 @@ To pass a single animation please supply them in simple values, e.g. animation(' `,{inline:v}));for(;typeof g[g.length-1]=="string"&&!g[g.length-1].trim();)g.pop();if(t.wrapper===null)return g;let w=t.wrapper||(v?"span":"div"),x;if(g.length>1||t.forceWrapper)x=g;else{if(g.length===1)return x=g[0],typeof x=="string"?n("span",{key:"outer"},x):x;x=null}return l.createElement(w,{key:"outer"},x)}function o(f){let v=f.match(qO);return v?v.reduce(function(g,w,x){let D=w.indexOf("=");if(D!==-1){let E=function(k){return k.indexOf("-")!==-1&&k.match(iM)===null&&(k=k.replace(dM,function(A,_){return _.toUpperCase()})),k}(w.slice(0,D)).trim(),b=function(k){let A=k[0];return(A==='"'||A==="'")&&k.length>=2&&k[k.length-1]===A?k.slice(1,-1):k}(w.slice(D+1).trim()),C=C4[E]||E,S=g[C]=function(k,A){return k==="style"?A.split(/;\s?/).reduce(function(_,I){let B=I.slice(0,I.indexOf(":"));return _[B.trim().replace(/(-[a-z])/g,z=>z[1].toUpperCase())]=I.slice(B.length+1).trim(),_},{}):k==="href"||k==="src"?Mn(A):(A.match(lM)&&(A=A.slice(1,A.length-1)),A==="true"||A!=="false"&&A)}(E,b);typeof S=="string"&&(N1.test(S)||H1.test(S))&&(g[C]=l.cloneElement(a(S.trim()),{key:x}))}else w!=="style"&&(g[C4[w]||w]=!0);return g},{}):null}let i=[],s={},c={0:{match:er(V9),order:1,parse:(f,v,g)=>({children:v(f[0].replace(YO,""),g)}),render:(f,v,g)=>n("blockquote",{key:g.key},v(f.children,g))},1:{match:no(KO),order:1,parse:q0,render:(f,v,g)=>n("br",{key:g.key})},2:{match:er(ZO),order:1,parse:q0,render:(f,v,g)=>n("hr",{key:g.key})},3:{match:er(q9),order:0,parse:f=>({lang:void 0,text:f[0].replace(/^ {4}/gm,"").replace(/\n+$/,"")}),render:(f,v,g)=>n("pre",{key:g.key},n("code",Jr({},f.attrs,{className:f.lang?`lang-${f.lang}`:""}),f.text))},4:{match:er(U9),order:0,parse:f=>({attrs:o(f[3]||""),lang:f[2]||void 0,text:f[4],type:"3"})},5:{match:fr(JO),order:3,parse:f=>({text:f[2]}),render:(f,v,g)=>n("code",{key:g.key},f.text)},6:{match:er(eM),order:0,parse:f=>(i.push({footnote:f[2],identifier:f[1]}),{}),render:W0},7:{match:pr(tM),order:1,parse:f=>({target:`#${t.slugify(f[1])}`,text:f[1]}),render:(f,v,g)=>n("a",{key:g.key,href:Mn(f.target)},n("sup",{key:g.key},f.text))},8:{match:pr(aM),order:1,parse:f=>({completed:f[1].toLowerCase()==="x"}),render:(f,v,g)=>n("input",{checked:f.completed,key:g.key,readOnly:!0,type:"checkbox"})},9:{match:er(t.enforceAtxHeadings?G9:W9),order:1,parse:(f,v,g)=>({children:El(v,f[2],g),id:t.slugify(f[2]),level:f[1].length}),render:(f,v,g)=>n(`h${f.level}`,{id:f.id,key:g.key},v(f.children,g))},10:{match:er(Y9),order:0,parse:(f,v,g)=>({children:El(v,f[1],g),level:f[2]==="="?1:2,type:"9"})},11:{match:no(N1),order:1,parse(f,v,g){let[,w]=f[3].match(IM),x=new RegExp(`^${w}`,"gm"),D=f[3].replace(x,""),E=(b=D,PM.some(A=>A.test(b))?UM:El);var b;let C=f[1].toLowerCase(),S=UO.indexOf(C)!==-1,k={attrs:o(f[2]),noInnerParse:S,tag:(S?C:f[1]).trim()};return g.inAnchor=g.inAnchor||C==="a",S?k.text=f[3]:k.children=E(v,D,g),g.inAnchor=!1,k},render:(f,v,g)=>n(f.tag,Jr({key:g.key},f.attrs),f.text||v(f.children,g))},13:{match:no(H1),order:1,parse:f=>({attrs:o(f[2]||""),tag:f[1].trim()}),render:(f,v,g)=>n(f.tag,Jr({},f.attrs,{key:g.key}))},12:{match:no(K9),order:1,parse:()=>({}),render:W0},14:{match:fr(MM),order:1,parse:f=>({alt:f[1],target:R4(f[2]),title:f[3]}),render:(f,v,g)=>n("img",{key:g.key,alt:f.alt||void 0,title:f.title||void 0,src:Mn(f.target)})},15:{match:pr(OM),order:3,parse:(f,v,g)=>({children:VM(v,f[1],g),target:R4(f[2]),title:f[3]}),render:(f,v,g)=>n("a",{key:g.key,href:Mn(f.target),title:f.title},v(f.children,g))},16:{match:pr(cM),order:0,parse:f=>({children:[{text:f[1],type:"27"}],target:f[1],type:"15"})},17:{match:(f,v)=>v.inAnchor?null:pr(sM)(f,v),order:0,parse:f=>({children:[{text:f[1],type:"27"}],target:f[1],title:void 0,type:"15"})},18:{match:pr(uM),order:0,parse(f){let v=f[1],g=f[1];return WO.test(g)||(g="mailto:"+g),{children:[{text:v.replace("mailto:",""),type:"27"}],target:g,type:"15"}}},20:A4(n,1),33:A4(n,2),19:{match:er(XO),order:3,parse:q0,render:()=>` `},21:{match:jM,order:3,parse:U0,render:(f,v,g)=>n("p",{key:g.key},v(f.children,g))},22:{match:pr(pM),order:0,parse:f=>(s[f[1]]={target:f[2],title:f[4]},{}),render:W0},23:{match:fr(fM),order:0,parse:f=>({alt:f[1]||void 0,ref:f[2]}),render:(f,v,g)=>s[f.ref]?n("img",{key:g.key,alt:f.alt,src:Mn(s[f.ref].target),title:s[f.ref].title}):null},24:{match:pr(hM),order:0,parse:(f,v,g)=>({children:v(f[1],g),fallbackChildren:v(f[0].replace(mM,"\\$1"),g),ref:f[2]}),render:(f,v,g)=>s[f.ref]?n("a",{key:g.key,href:Mn(s[f.ref].target),title:s[f.ref].title},v(f.children,g)):n("span",{key:g.key},v(f.fallbackChildren,g))},25:{match:er(Z9),order:1,parse:HM,render:(f,v,g)=>n("table",{key:g.key},n("thead",null,n("tr",null,f.header.map(function(w,x){return n("th",{key:x,style:_4(f,x)},v(w,g))}))),n("tbody",null,f.cells.map(function(w,x){return n("tr",{key:x},w.map(function(D,E){return n("td",{key:E,style:_4(f,E)},v(D,g))}))})))},26:{match:function(f,v){return v.inTable?(v.inline=!0,yM.exec(f)):null},order:1,parse:function(){return{type:"26"}},render:()=>" | "},27:{match:no(_M),order:4,parse:f=>({text:f[0].replace(oM,(v,g)=>t.namedCodesToUnicode[g]?t.namedCodesToUnicode[g]:v)}),render:f=>f.text},28:{match:fr(CM),order:2,parse:(f,v,g)=>({children:v(f[2],g)}),render:(f,v,g)=>n("strong",{key:g.key},v(f.children,g))},29:{match:fr(SM),order:3,parse:(f,v,g)=>({children:v(f[2],g)}),render:(f,v,g)=>n("em",{key:g.key},v(f.children,g))},30:{match:fr(FM),order:1,parse:f=>({text:f[1],type:"27"})},31:{match:fr(kM),order:3,parse:U0,render:(f,v,g)=>n("mark",{key:g.key},v(f.children,g))},32:{match:fr(AM),order:3,parse:U0,render:(f,v,g)=>n("del",{key:g.key},v(f.children,g))}};t.disableParsingRawHTML===!0&&(delete c[11],delete c[13]);let d=function(f){let v=Object.keys(f);function g(w,x){let D=[],E="";for(;w;){let b=0;for(;b D(g,w,x),g,w,x):D(g,w,x)}}(c,t.renderRule),function f(v,g={}){if(Array.isArray(v)){let w=g.key,x=[],D=!1;for(let E=0;E {let{children:t="",options:r}=e,n=function(a,o){if(a==null)return{};var i,s,c={},d=Object.keys(a);for(s=0;s =0||(c[i]=a[i]);return c}(e,VO);return l.cloneElement(WM(t,r),n)},GM=F.label(({theme:e})=>({lineHeight:"18px",alignItems:"center",marginBottom:8,display:"inline-block",position:"relative",whiteSpace:"nowrap",background:e.boolean.background,borderRadius:"3em",padding:1,'&[aria-disabled="true"]':{opacity:.5,input:{cursor:"not-allowed"}},input:{appearance:"none",width:"100%",height:"100%",position:"absolute",left:0,top:0,margin:0,padding:0,border:"none",background:"transparent",cursor:"pointer",borderRadius:"3em","&:focus":{outline:"none",boxShadow:`${e.color.secondary} 0 0 0 1px inset !important`}},span:{textAlign:"center",fontSize:e.typography.size.s1,fontWeight:e.typography.weight.bold,lineHeight:"1",cursor:"pointer",display:"inline-block",padding:"7px 15px",transition:"all 100ms ease-out",userSelect:"none",borderRadius:"3em",color:oe(.5,e.color.defaultText),background:"transparent","&:hover":{boxShadow:`${Zi(.3,e.appBorderColor)} 0 0 0 1px inset`},"&:active":{boxShadow:`${Zi(.05,e.appBorderColor)} 0 0 0 2px inset`,color:Zi(1,e.appBorderColor)},"&:first-of-type":{paddingRight:8},"&:last-of-type":{paddingLeft:8}},"input:checked ~ span:last-of-type, input:not(:checked) ~ span:first-of-type":{background:e.boolean.selectedBackground,boxShadow:e.base==="light"?`${Zi(.1,e.appBorderColor)} 0 0 2px`:`${e.appBorderColor} 0 0 0 1px`,color:e.color.defaultText,padding:"7px 15px"}})),YM=e=>e==="true",KM=({name:e,value:t,onChange:r,onBlur:n,onFocus:a,argType:o})=>{var p;let i=l.useCallback(()=>r(!1),[r]),s=!!((p=o==null?void 0:o.table)!=null&&p.readonly);if(t===void 0)return y.createElement(Sn,{variant:"outline",size:"medium",id:hs(e),onClick:i,disabled:s},"Set boolean");let c=vt(e),d=typeof t=="string"?YM(t):t;return y.createElement(GM,{"aria-disabled":s,htmlFor:c,"aria-label":e},y.createElement("input",{id:c,type:"checkbox",onChange:m=>r(m.target.checked),checked:d,role:"switch",disabled:s,name:e,onBlur:n,onFocus:a}),y.createElement("span",{"aria-hidden":"true"},"False"),y.createElement("span",{"aria-hidden":"true"},"True"))},ZM=e=>{let[t,r,n]=e.split("-"),a=new Date;return a.setFullYear(parseInt(t,10),parseInt(r,10)-1,parseInt(n,10)),a},JM=e=>{let[t,r]=e.split(":"),n=new Date;return n.setHours(parseInt(t,10)),n.setMinutes(parseInt(r,10)),n},XM=e=>{let t=new Date(e),r=`000${t.getFullYear()}`.slice(-4),n=`0${t.getMonth()+1}`.slice(-2),a=`0${t.getDate()}`.slice(-2);return`${r}-${n}-${a}`},QM=e=>{let t=new Date(e),r=`0${t.getHours()}`.slice(-2),n=`0${t.getMinutes()}`.slice(-2);return`${r}:${n}`},I4=F(yi.Input)(({readOnly:e})=>({opacity:e?.5:1})),eP=F.div(({theme:e})=>({flex:1,display:"flex",input:{marginLeft:10,flex:1,height:32,"&::-webkit-calendar-picker-indicator":{opacity:.5,height:12,filter:e.base==="light"?void 0:"invert(1)"}},"input:first-of-type":{marginLeft:0,flexGrow:4},"input:last-of-type":{flexGrow:3}})),tP=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,argType:o})=>{var v;let[i,s]=l.useState(!0),c=l.useRef(),d=l.useRef(),p=!!((v=o==null?void 0:o.table)!=null&&v.readonly);l.useEffect(()=>{i!==!1&&(c&&c.current&&(c.current.value=t?XM(t):""),d&&d.current&&(d.current.value=t?QM(t):""))},[t]);let m=g=>{if(!g.target.value)return r();let w=ZM(g.target.value),x=new Date(t);x.setFullYear(w.getFullYear(),w.getMonth(),w.getDate());let D=x.getTime();D&&r(D),s(!!D)},h=g=>{if(!g.target.value)return r();let w=JM(g.target.value),x=new Date(t);x.setHours(w.getHours()),x.setMinutes(w.getMinutes());let D=x.getTime();D&&r(D),s(!!D)},f=vt(e);return y.createElement(eP,null,y.createElement(I4,{type:"date",max:"9999-12-31",ref:c,id:`${f}-date`,name:`${f}-date`,readOnly:p,onChange:m,onFocus:n,onBlur:a}),y.createElement(I4,{type:"time",id:`${f}-time`,name:`${f}-time`,ref:d,onChange:h,readOnly:p,onFocus:n,onBlur:a}),i?null:y.createElement("div",null,"invalid"))},rP=F.label({display:"flex"}),nP=e=>{let t=parseFloat(e);return Number.isNaN(t)?void 0:t},aP=F(yi.Input)(({readOnly:e})=>({opacity:e?.5:1})),oP=({name:e,value:t,onChange:r,min:n,max:a,step:o,onBlur:i,onFocus:s,argType:c})=>{var E;let[d,p]=l.useState(typeof t=="number"?t:""),[m,h]=l.useState(!1),[f,v]=l.useState(null),g=!!((E=c==null?void 0:c.table)!=null&&E.readonly),w=l.useCallback(b=>{p(b.target.value);let C=parseFloat(b.target.value);Number.isNaN(C)?v(new Error(`'${b.target.value}' is not a number`)):(r(C),v(null))},[r,v]),x=l.useCallback(()=>{p("0"),r(0),h(!0)},[h]),D=l.useRef(null);return l.useEffect(()=>{m&&D.current&&D.current.select()},[m]),l.useEffect(()=>{d!==(typeof t=="number"?t:"")&&p(t)},[t]),t===void 0?y.createElement(Sn,{variant:"outline",size:"medium",id:hs(e),onClick:x,disabled:g},"Set number"):y.createElement(rP,null,y.createElement(aP,{ref:D,id:vt(e),type:"number",onChange:w,size:"flex",placeholder:"Edit number...",value:d,valid:f?"error":null,autoFocus:m,readOnly:g,name:e,min:n,max:a,step:o,onFocus:s,onBlur:i}))},ux=(e,t)=>{let r=t&&Object.entries(t).find(([n,a])=>a===e);return r?r[0]:void 0},j1=(e,t)=>e&&t?Object.entries(t).filter(r=>e.includes(r[1])).map(r=>r[0]):[],cx=(e,t)=>e&&t&&e.map(r=>t[r]),iP=F.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}},e=>{if(e["aria-readonly"]==="true")return{input:{cursor:"not-allowed"}}}),lP=F.span({"[aria-readonly=true] &":{opacity:.5}}),sP=F.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),B4=({name:e,options:t,value:r,onChange:n,isInline:a,argType:o})=>{var h;if(!t)return Xf.warn(`Checkbox with no options: ${e}`),y.createElement(y.Fragment,null,"-");let i=j1(r,t),[s,c]=l.useState(i),d=!!((h=o==null?void 0:o.table)!=null&&h.readonly),p=f=>{let v=f.target.value,g=[...s];g.includes(v)?g.splice(g.indexOf(v),1):g.push(v),n(cx(g,t)),c(g)};l.useEffect(()=>{c(j1(r,t))},[r]);let m=vt(e);return y.createElement(iP,{"aria-readonly":d,isInline:a},Object.keys(t).map((f,v)=>{let g=`${m}-${v}`;return y.createElement(sP,{key:g,htmlFor:g},y.createElement("input",{type:"checkbox",disabled:d,id:g,name:g,value:f,onChange:p,checked:s==null?void 0:s.includes(f)}),y.createElement(lP,null,f))}))},uP=F.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}},e=>{if(e["aria-readonly"]==="true")return{input:{cursor:"not-allowed"}}}),cP=F.span({"[aria-readonly=true] &":{opacity:.5}}),dP=F.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),T4=({name:e,options:t,value:r,onChange:n,isInline:a,argType:o})=>{var d;if(!t)return Xf.warn(`Radio with no options: ${e}`),y.createElement(y.Fragment,null,"-");let i=ux(r,t),s=vt(e),c=!!((d=o==null?void 0:o.table)!=null&&d.readonly);return y.createElement(uP,{"aria-readonly":c,isInline:a},Object.keys(t).map((p,m)=>{let h=`${s}-${m}`;return y.createElement(dP,{key:h,htmlFor:h},y.createElement("input",{type:"radio",id:h,name:s,disabled:c,value:p,onChange:f=>n(t[f.currentTarget.value]),checked:p===i}),y.createElement(cP,null,p))}))},pP={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},dx=F.select(pP,({theme:e})=>({boxSizing:"border-box",position:"relative",padding:"6px 10px",width:"100%",color:e.input.color||"inherit",background:e.input.background,borderRadius:e.input.borderRadius,boxShadow:`${e.input.border} 0 0 0 1px inset`,fontSize:e.typography.size.s2-1,lineHeight:"20px","&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"::placeholder":{color:e.textMutedColor},"&[multiple]":{overflow:"auto",padding:0,option:{display:"block",padding:"6px 10px",marginLeft:1,marginRight:1}}})),px=F.span(({theme:e})=>({display:"inline-block",lineHeight:"normal",overflow:"hidden",position:"relative",verticalAlign:"top",width:"100%",svg:{position:"absolute",zIndex:1,pointerEvents:"none",height:"12px",marginTop:"-6px",right:"12px",top:"50%",fill:e.textMutedColor,path:{fill:e.textMutedColor}}})),z4="Choose option...",fP=({name:e,value:t,options:r,onChange:n,argType:a})=>{var d;let o=p=>{n(r[p.currentTarget.value])},i=ux(t,r)||z4,s=vt(e),c=!!((d=a==null?void 0:a.table)!=null&&d.readonly);return y.createElement(px,null,y.createElement(B9,null),y.createElement(dx,{disabled:c,id:s,value:i,onChange:o},y.createElement("option",{key:"no-selection",disabled:!0},z4),Object.keys(r).map(p=>y.createElement("option",{key:p,value:p},p))))},hP=({name:e,value:t,options:r,onChange:n,argType:a})=>{var d;let o=p=>{let m=Array.from(p.currentTarget.options).filter(h=>h.selected).map(h=>h.value);n(cx(m,r))},i=j1(t,r),s=vt(e),c=!!((d=a==null?void 0:a.table)!=null&&d.readonly);return y.createElement(px,null,y.createElement(dx,{disabled:c,id:s,multiple:!0,value:i,onChange:o},Object.keys(r).map(p=>y.createElement("option",{key:p,value:p},p))))},L4=e=>{let{name:t,options:r}=e;return r?e.isMulti?y.createElement(hP,{...e}):y.createElement(fP,{...e}):(Xf.warn(`Select with no options: ${t}`),y.createElement(y.Fragment,null,"-"))},mP=(e,t)=>Array.isArray(e)?e.reduce((r,n)=>(r[(t==null?void 0:t[n])||String(n)]=n,r),{}):e,gP={check:B4,"inline-check":B4,radio:T4,"inline-radio":T4,select:L4,"multi-select":L4},Pn=e=>{let{type:t="select",labels:r,argType:n}=e,a={...e,argType:n,options:n?mP(n.options,r):{},isInline:t.includes("inline"),isMulti:t.includes("multi")},o=gP[t];if(o)return y.createElement(o,{...a});throw new Error(`Unknown options type: ${t}`)},vP="Error",yP="Object",bP="Array",wP="String",EP="Number",xP="Boolean",DP="Date",CP="Null",SP="Undefined",kP="Function",AP="Symbol",fx="ADD_DELTA_TYPE",hx="REMOVE_DELTA_TYPE",mx="UPDATE_DELTA_TYPE",rh="value",FP="key";function nn(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)&&typeof e[Symbol.iterator]=="function"?"Iterable":Object.prototype.toString.call(e).slice(8,-1)}function gx(e,t){let r=nn(e),n=nn(t);return(r==="Function"||n==="Function")&&n!==r}var nh=class extends l.Component{constructor(e){super(e),this.state={inputRefKey:null,inputRefValue:null},this.refInputValue=this.refInputValue.bind(this),this.refInputKey=this.refInputKey.bind(this),this.onKeydown=this.onKeydown.bind(this),this.onSubmit=this.onSubmit.bind(this)}componentDidMount(){let{inputRefKey:e,inputRefValue:t}=this.state,{onlyValue:r}=this.props;e&&typeof e.focus=="function"&&e.focus(),r&&t&&typeof t.focus=="function"&&t.focus(),document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.onSubmit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.props.handleCancel()))}onSubmit(){let{handleAdd:e,onlyValue:t,onSubmitValueParser:r,keyPath:n,deep:a}=this.props,{inputRefKey:o,inputRefValue:i}=this.state,s={};if(!t){if(!o.value)return;s.key=o.value}s.newValue=r(!1,n,a,s.key,i.value),e(s)}refInputKey(e){this.state.inputRefKey=e}refInputValue(e){this.state.inputRefValue=e}render(){let{handleCancel:e,onlyValue:t,addButtonElement:r,cancelButtonElement:n,inputElementGenerator:a,keyPath:o,deep:i}=this.props,s=l.cloneElement(r,{onClick:this.onSubmit}),c=l.cloneElement(n,{onClick:e}),d=a(rh,o,i),p=l.cloneElement(d,{placeholder:"Value",ref:this.refInputValue}),m=null;if(!t){let h=a(FP,o,i);m=l.cloneElement(h,{placeholder:"Key",ref:this.refInputKey})}return y.createElement("span",{className:"rejt-add-value-node"},m,p,c,s)}};nh.defaultProps={onlyValue:!1,addButtonElement:y.createElement("button",null,"+"),cancelButtonElement:y.createElement("button",null,"c")};var vx=class extends l.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={data:e.data,name:e.name,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveItem=this.handleRemoveItem.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:a}=this.props,o=n.length;a(n[o-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleRemoveItem(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:a,nextDeep:o}=this.state,i=n[e];t(e,a,o,i).then(()=>{let s={keyPath:a,deep:o,key:e,oldValue:i,type:hx};n.splice(e,1),this.setState({data:n});let{onUpdate:c,onDeltaUpdate:d}=this.props;c(a[a.length-1],n),d(s)}).catch(r.error)}}handleAddValueAdd({newValue:e}){let{data:t,keyPath:r,nextDeep:n}=this.state,{beforeAddAction:a,logger:o}=this.props;a(t.length,r,n,e).then(()=>{let i=[...t,e];this.setState({data:i}),this.handleAddValueCancel();let{onUpdate:s,onDeltaUpdate:c}=this.props;s(r[r.length-1],i),c({type:fx,keyPath:r,deep:n,key:i.length-1,newValue:e})}).catch(o.error)}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:a}=this.props,{data:o,keyPath:i,nextDeep:s}=this.state,c=o[e];a(e,i,s,c,t).then(()=>{o[e]=t,this.setState({data:o});let{onUpdate:d,onDeltaUpdate:p}=this.props;d(i[i.length-1],o),p({type:mx,keyPath:i,deep:s,key:e,newValue:t,oldValue:c}),r(void 0)}).catch(n)})}renderCollapsed(){let{name:e,data:t,keyPath:r,deep:n}=this.state,{handleRemove:a,readOnly:o,getStyle:i,dataType:s,minusMenuElement:c}=this.props,{minus:d,collapsed:p}=i(e,t,r,n,s),m=o(e,t,r,n,s),h=l.cloneElement(c,{onClick:a,className:"rejt-minus-menu",style:d});return y.createElement("span",{className:"rejt-collapsed"},y.createElement("span",{className:"rejt-collapsed-text",style:p,onClick:this.handleCollapseMode},"[...] ",t.length," ",t.length===1?"item":"items"),!m&&h)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,addFormVisible:a,nextDeep:o}=this.state,{isCollapsed:i,handleRemove:s,onDeltaUpdate:c,readOnly:d,getStyle:p,dataType:m,addButtonElement:h,cancelButtonElement:f,editButtonElement:v,inputElementGenerator:g,textareaElementGenerator:w,minusMenuElement:x,plusMenuElement:D,beforeRemoveAction:E,beforeAddAction:b,beforeUpdateAction:C,logger:S,onSubmitValueParser:k}=this.props,{minus:A,plus:_,delimiter:I,ul:B,addForm:z}=p(e,t,r,n,m),L=d(e,t,r,n,m),M=l.cloneElement(D,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:_}),O=l.cloneElement(x,{onClick:s,className:"rejt-minus-menu",style:A});return y.createElement("span",{className:"rejt-not-collapsed"},y.createElement("span",{className:"rejt-not-collapsed-delimiter",style:I},"["),!a&&M,y.createElement("ul",{className:"rejt-not-collapsed-list",style:B},t.map((P,H)=>y.createElement(gu,{key:H,name:H.toString(),data:P,keyPath:r,deep:o,isCollapsed:i,handleRemove:this.handleRemoveItem(H),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:c,readOnly:d,getStyle:p,addButtonElement:h,cancelButtonElement:f,editButtonElement:v,inputElementGenerator:g,textareaElementGenerator:w,minusMenuElement:x,plusMenuElement:D,beforeRemoveAction:E,beforeAddAction:b,beforeUpdateAction:C,logger:S,onSubmitValueParser:k}))),!L&&a&&y.createElement("div",{className:"rejt-add-form",style:z},y.createElement(nh,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,onlyValue:!0,addButtonElement:h,cancelButtonElement:f,inputElementGenerator:g,keyPath:r,deep:n,onSubmitValueParser:k})),y.createElement("span",{className:"rejt-not-collapsed-delimiter",style:I},"]"),!L&&O)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:a}=this.state,{dataType:o,getStyle:i}=this.props,s=t?this.renderCollapsed():this.renderNotCollapsed(),c=i(e,r,n,a,o);return y.createElement("div",{className:"rejt-array-node"},y.createElement("span",{onClick:this.handleCollapseMode},y.createElement("span",{className:"rejt-name",style:c.name},e," :"," ")),s)}};vx.defaultProps={keyPath:[],deep:0,minusMenuElement:y.createElement("span",null," - "),plusMenuElement:y.createElement("span",null," + ")};var yx=class extends l.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:r,value:n,keyPath:a,deep:o}=this.state,{readOnly:i,dataType:s}=this.props,c=i(r,n,a,o,s);e&&!c&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:a}=this.props,{inputRef:o,name:i,deep:s}=this.state;if(!o)return;let c=n(!0,a,s,i,o.value);e({value:c,key:i}).then(()=>{gx(t,c)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:a}=this.state,{handleRemove:o,originalValue:i,readOnly:s,dataType:c,getStyle:d,editButtonElement:p,cancelButtonElement:m,textareaElementGenerator:h,minusMenuElement:f,keyPath:v}=this.props,g=d(e,i,n,a,c),w=null,x=null,D=s(e,i,n,a,c);if(r&&!D){let E=h(rh,v,a,e,i,c),b=l.cloneElement(p,{onClick:this.handleEdit}),C=l.cloneElement(m,{onClick:this.handleCancelEdit}),S=l.cloneElement(E,{ref:this.refInput,defaultValue:i});w=y.createElement("span",{className:"rejt-edit-form",style:g.editForm},S," ",C,b),x=null}else{w=y.createElement("span",{className:"rejt-value",style:g.value,onClick:D?null:this.handleEditMode},t);let E=l.cloneElement(f,{onClick:o,className:"rejt-minus-menu",style:g.minus});x=D?null:E}return y.createElement("li",{className:"rejt-function-value-node",style:g.li},y.createElement("span",{className:"rejt-name",style:g.name},e," :"," "),w,x)}};yx.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>{},editButtonElement:y.createElement("button",null,"e"),cancelButtonElement:y.createElement("button",null,"c"),minusMenuElement:y.createElement("span",null," - ")};var gu=class extends l.Component{constructor(e){super(e),this.state={data:e.data,name:e.name,keyPath:e.keyPath,deep:e.deep}}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}render(){let{data:e,name:t,keyPath:r,deep:n}=this.state,{isCollapsed:a,handleRemove:o,handleUpdateValue:i,onUpdate:s,onDeltaUpdate:c,readOnly:d,getStyle:p,addButtonElement:m,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,textareaElementGenerator:g,minusMenuElement:w,plusMenuElement:x,beforeRemoveAction:D,beforeAddAction:E,beforeUpdateAction:b,logger:C,onSubmitValueParser:S}=this.props,k=()=>!0,A=nn(e);switch(A){case vP:return y.createElement(V1,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:s,onDeltaUpdate:c,readOnly:k,dataType:A,getStyle:p,addButtonElement:m,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,textareaElementGenerator:g,minusMenuElement:w,plusMenuElement:x,beforeRemoveAction:D,beforeAddAction:E,beforeUpdateAction:b,logger:C,onSubmitValueParser:S});case yP:return y.createElement(V1,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:s,onDeltaUpdate:c,readOnly:d,dataType:A,getStyle:p,addButtonElement:m,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,textareaElementGenerator:g,minusMenuElement:w,plusMenuElement:x,beforeRemoveAction:D,beforeAddAction:E,beforeUpdateAction:b,logger:C,onSubmitValueParser:S});case bP:return y.createElement(vx,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:s,onDeltaUpdate:c,readOnly:d,dataType:A,getStyle:p,addButtonElement:m,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,textareaElementGenerator:g,minusMenuElement:w,plusMenuElement:x,beforeRemoveAction:D,beforeAddAction:E,beforeUpdateAction:b,logger:C,onSubmitValueParser:S});case wP:return y.createElement(mr,{name:t,value:`"${e}"`,originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:A,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,minusMenuElement:w,logger:C,onSubmitValueParser:S});case EP:return y.createElement(mr,{name:t,value:e,originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:A,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,minusMenuElement:w,logger:C,onSubmitValueParser:S});case xP:return y.createElement(mr,{name:t,value:e?"true":"false",originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:A,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,minusMenuElement:w,logger:C,onSubmitValueParser:S});case DP:return y.createElement(mr,{name:t,value:e.toISOString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:k,dataType:A,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,minusMenuElement:w,logger:C,onSubmitValueParser:S});case CP:return y.createElement(mr,{name:t,value:"null",originalValue:"null",keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:A,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,minusMenuElement:w,logger:C,onSubmitValueParser:S});case SP:return y.createElement(mr,{name:t,value:"undefined",originalValue:"undefined",keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:A,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,minusMenuElement:w,logger:C,onSubmitValueParser:S});case kP:return y.createElement(yx,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:A,getStyle:p,cancelButtonElement:h,editButtonElement:f,textareaElementGenerator:g,minusMenuElement:w,logger:C,onSubmitValueParser:S});case AP:return y.createElement(mr,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:k,dataType:A,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,minusMenuElement:w,logger:C,onSubmitValueParser:S});default:return null}}};gu.defaultProps={keyPath:[],deep:0};var V1=class extends l.Component{constructor(e){super(e);let t=e.deep===-1?[]:[...e.keyPath,e.name];this.state={name:e.name,data:e.data,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveValue=this.handleRemoveValue.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:a}=this.props,o=n.length;a(n[o-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleAddValueAdd({key:e,newValue:t}){let{data:r,keyPath:n,nextDeep:a}=this.state,{beforeAddAction:o,logger:i}=this.props;o(e,n,a,t).then(()=>{r[e]=t,this.setState({data:r}),this.handleAddValueCancel();let{onUpdate:s,onDeltaUpdate:c}=this.props;s(n[n.length-1],r),c({type:fx,keyPath:n,deep:a,key:e,newValue:t})}).catch(i.error)}handleRemoveValue(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:a,nextDeep:o}=this.state,i=n[e];t(e,a,o,i).then(()=>{let s={keyPath:a,deep:o,key:e,oldValue:i,type:hx};delete n[e],this.setState({data:n});let{onUpdate:c,onDeltaUpdate:d}=this.props;c(a[a.length-1],n),d(s)}).catch(r.error)}}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:a}=this.props,{data:o,keyPath:i,nextDeep:s}=this.state,c=o[e];a(e,i,s,c,t).then(()=>{o[e]=t,this.setState({data:o});let{onUpdate:d,onDeltaUpdate:p}=this.props;d(i[i.length-1],o),p({type:mx,keyPath:i,deep:s,key:e,newValue:t,oldValue:c}),r()}).catch(n)})}renderCollapsed(){let{name:e,keyPath:t,deep:r,data:n}=this.state,{handleRemove:a,readOnly:o,dataType:i,getStyle:s,minusMenuElement:c}=this.props,{minus:d,collapsed:p}=s(e,n,t,r,i),m=Object.getOwnPropertyNames(n),h=o(e,n,t,r,i),f=l.cloneElement(c,{onClick:a,className:"rejt-minus-menu",style:d});return y.createElement("span",{className:"rejt-collapsed"},y.createElement("span",{className:"rejt-collapsed-text",style:p,onClick:this.handleCollapseMode},"{...}"," ",m.length," ",m.length===1?"key":"keys"),!h&&f)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,nextDeep:a,addFormVisible:o}=this.state,{isCollapsed:i,handleRemove:s,onDeltaUpdate:c,readOnly:d,getStyle:p,dataType:m,addButtonElement:h,cancelButtonElement:f,editButtonElement:v,inputElementGenerator:g,textareaElementGenerator:w,minusMenuElement:x,plusMenuElement:D,beforeRemoveAction:E,beforeAddAction:b,beforeUpdateAction:C,logger:S,onSubmitValueParser:k}=this.props,{minus:A,plus:_,addForm:I,ul:B,delimiter:z}=p(e,t,r,n,m),L=Object.getOwnPropertyNames(t),M=d(e,t,r,n,m),O=l.cloneElement(D,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:_}),P=l.cloneElement(x,{onClick:s,className:"rejt-minus-menu",style:A}),H=L.map(U=>y.createElement(gu,{key:U,name:U,data:t[U],keyPath:r,deep:a,isCollapsed:i,handleRemove:this.handleRemoveValue(U),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:c,readOnly:d,getStyle:p,addButtonElement:h,cancelButtonElement:f,editButtonElement:v,inputElementGenerator:g,textareaElementGenerator:w,minusMenuElement:x,plusMenuElement:D,beforeRemoveAction:E,beforeAddAction:b,beforeUpdateAction:C,logger:S,onSubmitValueParser:k}));return y.createElement("span",{className:"rejt-not-collapsed"},y.createElement("span",{className:"rejt-not-collapsed-delimiter",style:z},"{"),!M&&O,y.createElement("ul",{className:"rejt-not-collapsed-list",style:B},H),!M&&o&&y.createElement("div",{className:"rejt-add-form",style:I},y.createElement(nh,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,addButtonElement:h,cancelButtonElement:f,inputElementGenerator:g,keyPath:r,deep:n,onSubmitValueParser:k})),y.createElement("span",{className:"rejt-not-collapsed-delimiter",style:z},"}"),!M&&P)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:a}=this.state,{getStyle:o,dataType:i}=this.props,s=t?this.renderCollapsed():this.renderNotCollapsed(),c=o(e,r,n,a,i);return y.createElement("div",{className:"rejt-object-node"},y.createElement("span",{onClick:this.handleCollapseMode},y.createElement("span",{className:"rejt-name",style:c.name},e," :"," ")),s)}};V1.defaultProps={keyPath:[],deep:0,minusMenuElement:y.createElement("span",null," - "),plusMenuElement:y.createElement("span",null," + ")};var mr=class extends l.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:r,value:n,keyPath:a,deep:o}=this.state,{readOnly:i,dataType:s}=this.props,c=i(r,n,a,o,s);e&&!c&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:a}=this.props,{inputRef:o,name:i,deep:s}=this.state;if(!o)return;let c=n(!0,a,s,i,o.value);e({value:c,key:i}).then(()=>{gx(t,c)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:a}=this.state,{handleRemove:o,originalValue:i,readOnly:s,dataType:c,getStyle:d,editButtonElement:p,cancelButtonElement:m,inputElementGenerator:h,minusMenuElement:f,keyPath:v}=this.props,g=d(e,i,n,a,c),w=s(e,i,n,a,c),x=r&&!w,D=h(rh,v,a,e,i,c),E=l.cloneElement(p,{onClick:this.handleEdit}),b=l.cloneElement(m,{onClick:this.handleCancelEdit}),C=l.cloneElement(D,{ref:this.refInput,defaultValue:JSON.stringify(i)}),S=l.cloneElement(f,{onClick:o,className:"rejt-minus-menu",style:g.minus});return y.createElement("li",{className:"rejt-value-node",style:g.li},y.createElement("span",{className:"rejt-name",style:g.name},e," : "),x?y.createElement("span",{className:"rejt-edit-form",style:g.editForm},C," ",b,E):y.createElement("span",{className:"rejt-value",style:g.value,onClick:w?null:this.handleEditMode},String(t)),!w&&!x&&S)}};mr.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>Promise.resolve(),editButtonElement:y.createElement("button",null,"e"),cancelButtonElement:y.createElement("button",null,"c"),minusMenuElement:y.createElement("span",null," - ")};function _P(e){let t=e;if(t.indexOf("function")===0)return(0,eval)(`(${t})`);try{t=JSON.parse(e)}catch{}return t}var RP={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},IP={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},BP={minus:{color:"red"},editForm:{},value:{color:"#7bba3d"},li:{minHeight:"22px",lineHeight:"22px",outline:"0px"},name:{color:"#2287CD"}},bx=class extends l.Component{constructor(e){super(e),this.state={data:e.data,rootName:e.rootName},this.onUpdate=this.onUpdate.bind(this),this.removeRoot=this.removeRoot.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data||e.rootName!==t.rootName?{data:e.data,rootName:e.rootName}:null}onUpdate(e,t){this.setState({data:t}),this.props.onFullyUpdate(t)}removeRoot(){this.onUpdate(null,null)}render(){let{data:e,rootName:t}=this.state,{isCollapsed:r,onDeltaUpdate:n,readOnly:a,getStyle:o,addButtonElement:i,cancelButtonElement:s,editButtonElement:c,inputElement:d,textareaElement:p,minusMenuElement:m,plusMenuElement:h,beforeRemoveAction:f,beforeAddAction:v,beforeUpdateAction:g,logger:w,onSubmitValueParser:x,fallback:D=null}=this.props,E=nn(e),b=a;nn(a)==="Boolean"&&(b=()=>a);let C=d;d&&nn(d)!=="Function"&&(C=()=>d);let S=p;return p&&nn(p)!=="Function"&&(S=()=>p),E==="Object"||E==="Array"?y.createElement("div",{className:"rejt-tree"},y.createElement(gu,{data:e,name:t,deep:-1,isCollapsed:r,onUpdate:this.onUpdate,onDeltaUpdate:n,readOnly:b,getStyle:o,addButtonElement:i,cancelButtonElement:s,editButtonElement:c,inputElementGenerator:C,textareaElementGenerator:S,minusMenuElement:m,plusMenuElement:h,handleRemove:this.removeRoot,beforeRemoveAction:f,beforeAddAction:v,beforeUpdateAction:g,logger:w,onSubmitValueParser:x})):D}};bx.defaultProps={rootName:"root",isCollapsed:(e,t)=>t!==-1,getStyle:(e,t,r,n,a)=>{switch(a){case"Object":case"Error":return RP;case"Array":return IP;default:return BP}},readOnly:()=>!1,onFullyUpdate:()=>{},onDeltaUpdate:()=>{},beforeRemoveAction:()=>Promise.resolve(),beforeAddAction:()=>Promise.resolve(),beforeUpdateAction:()=>Promise.resolve(),logger:{error:()=>{}},onSubmitValueParser:(e,t,r,n,a)=>_P(a),inputElement:()=>y.createElement("input",null),textareaElement:()=>y.createElement("textarea",null),fallback:null};var{window:TP}=globalThis,zP=F.div(({theme:e})=>({position:"relative",display:"flex",'&[aria-readonly="true"]':{opacity:.5},".rejt-tree":{marginLeft:"1rem",fontSize:"13px"},".rejt-value-node, .rejt-object-node > .rejt-collapsed, .rejt-array-node > .rejt-collapsed, .rejt-object-node > .rejt-not-collapsed, .rejt-array-node > .rejt-not-collapsed":{"& > svg":{opacity:0,transition:"opacity 0.2s"}},".rejt-value-node:hover, .rejt-object-node:hover > .rejt-collapsed, .rejt-array-node:hover > .rejt-collapsed, .rejt-object-node:hover > .rejt-not-collapsed, .rejt-array-node:hover > .rejt-not-collapsed":{"& > svg":{opacity:1}},".rejt-edit-form button":{display:"none"},".rejt-add-form":{marginLeft:10},".rejt-add-value-node":{display:"inline-flex",alignItems:"center"},".rejt-name":{lineHeight:"22px"},".rejt-not-collapsed-delimiter":{lineHeight:"22px"},".rejt-plus-menu":{marginLeft:5},".rejt-object-node > span > *, .rejt-array-node > span > *":{position:"relative",zIndex:2},".rejt-object-node, .rejt-array-node":{position:"relative"},".rejt-object-node > span:first-of-type::after, .rejt-array-node > span:first-of-type::after, .rejt-collapsed::before, .rejt-not-collapsed::before":{content:'""',position:"absolute",top:0,display:"block",width:"100%",marginLeft:"-1rem",padding:"0 4px 0 1rem",height:22},".rejt-collapsed::before, .rejt-not-collapsed::before":{zIndex:1,background:"transparent",borderRadius:4,transition:"background 0.2s",pointerEvents:"none",opacity:.1},".rejt-object-node:hover, .rejt-array-node:hover":{"& > .rejt-collapsed::before, & > .rejt-not-collapsed::before":{background:e.color.secondary}},".rejt-collapsed::after, .rejt-not-collapsed::after":{content:'""',position:"absolute",display:"inline-block",pointerEvents:"none",width:0,height:0},".rejt-collapsed::after":{left:-8,top:8,borderTop:"3px solid transparent",borderBottom:"3px solid transparent",borderLeft:"3px solid rgba(153,153,153,0.6)"},".rejt-not-collapsed::after":{left:-10,top:10,borderTop:"3px solid rgba(153,153,153,0.6)",borderLeft:"3px solid transparent",borderRight:"3px solid transparent"},".rejt-value":{display:"inline-block",border:"1px solid transparent",borderRadius:4,margin:"1px 0",padding:"0 4px",cursor:"text",color:e.color.defaultText},".rejt-value-node:hover > .rejt-value":{background:e.color.lighter,borderColor:e.appBorderColor}})),Y0=F.button(({theme:e,primary:t})=>({border:0,height:20,margin:1,borderRadius:4,background:t?e.color.secondary:"transparent",color:t?e.color.lightest:e.color.dark,fontWeight:t?"bold":"normal",cursor:"pointer",order:t?"initial":9})),LP=F(wL)(({theme:e,disabled:t})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:t?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":t?{}:{color:e.color.ancillary},"svg + &":{marginLeft:0}})),OP=F(EL)(({theme:e,disabled:t})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:t?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":t?{}:{color:e.color.negative},"svg + &":{marginLeft:0}})),O4=F.input(({theme:e,placeholder:t})=>({outline:0,margin:t?1:"1px 0",padding:"3px 4px",color:e.color.defaultText,background:e.background.app,border:`1px solid ${e.appBorderColor}`,borderRadius:4,lineHeight:"14px",width:t==="Key"?80:120,"&:focus":{border:`1px solid ${e.color.secondary}`}})),MP=F(sn)(({theme:e})=>({position:"absolute",zIndex:2,top:2,right:2,height:21,padding:"0 3px",background:e.background.bar,border:`1px solid ${e.appBorderColor}`,borderRadius:3,color:e.textMutedColor,fontSize:"9px",fontWeight:"bold",textDecoration:"none",span:{marginLeft:3,marginTop:1}})),PP=F(yi.Textarea)(({theme:e})=>({flex:1,padding:"7px 6px",fontFamily:e.typography.fonts.mono,fontSize:"12px",lineHeight:"18px","&::placeholder":{fontFamily:e.typography.fonts.base,fontSize:"13px"},"&:placeholder-shown":{padding:"7px 10px"}})),$P={bubbles:!0,cancelable:!0,key:"Enter",code:"Enter",keyCode:13},NP=e=>{e.currentTarget.dispatchEvent(new TP.KeyboardEvent("keydown",$P))},HP=e=>{e.currentTarget.select()},jP=e=>()=>({name:{color:e.color.secondary},collapsed:{color:e.color.dark},ul:{listStyle:"none",margin:"0 0 0 1rem",padding:0},li:{outline:0}}),M4=({name:e,value:t,onChange:r,argType:n})=>{var E;let a=D3(),o=l.useMemo(()=>t&&aD(t),[t]),i=o!=null,[s,c]=l.useState(!i),[d,p]=l.useState(null),m=!!((E=n==null?void 0:n.table)!=null&&E.readonly),h=l.useCallback(b=>{try{b&&r(JSON.parse(b)),p(void 0)}catch(C){p(C)}},[r]),[f,v]=l.useState(!1),g=l.useCallback(()=>{r({}),v(!0)},[v]),w=l.useRef(null);if(l.useEffect(()=>{f&&w.current&&w.current.select()},[f]),!i)return y.createElement(Sn,{disabled:m,id:hs(e),onClick:g},"Set object");let x=y.createElement(PP,{ref:w,id:vt(e),name:e,defaultValue:t===null?"":JSON.stringify(t,null,2),onBlur:b=>h(b.target.value),placeholder:"Edit JSON string...",autoFocus:f,valid:d?"error":null,readOnly:m}),D=Array.isArray(t)||typeof t=="object"&&(t==null?void 0:t.constructor)===Object;return y.createElement(zP,{"aria-readonly":m},D&&y.createElement(MP,{onClick:b=>{b.preventDefault(),c(C=>!C)}},s?y.createElement(yL,null):y.createElement(vL,null),y.createElement("span",null,"RAW")),s?x:y.createElement(bx,{readOnly:m||!D,isCollapsed:D?void 0:()=>!0,data:o,rootName:e,onFullyUpdate:r,getStyle:jP(a),cancelButtonElement:y.createElement(Y0,{type:"button"},"Cancel"),editButtonElement:y.createElement(Y0,{type:"submit"},"Save"),addButtonElement:y.createElement(Y0,{type:"submit",primary:!0},"Save"),plusMenuElement:y.createElement(LP,null),minusMenuElement:y.createElement(OP,null),inputElement:(b,C,S,k)=>k?y.createElement(O4,{onFocus:HP,onBlur:NP}):y.createElement(O4,null),fallback:x}))},VP=F.input(({theme:e,min:t,max:r,value:n,disabled:a})=>({"&":{width:"100%",backgroundColor:"transparent",appearance:"none"},"&::-webkit-slider-runnable-track":{background:e.base==="light"?`linear-gradient(to right, +`).replace(rM,"").replace(vM," ")}(w),x)}}(c),p=(m=function(f,v){return function(g,w,x){let D=f[g.type].render;return v?v(()=>D(g,w,x),g,w,x):D(g,w,x)}}(c,t.renderRule),function f(v,g={}){if(Array.isArray(v)){let w=g.key,x=[],D=!1;for(let E=0;E {let{children:t="",options:r}=e,n=function(a,o){if(a==null)return{};var i,s,c={},d=Object.keys(a);for(s=0;s =0||(c[i]=a[i]);return c}(e,VO);return l.cloneElement(WM(t,r),n)},GM=F.label(({theme:e})=>({lineHeight:"18px",alignItems:"center",marginBottom:8,display:"inline-block",position:"relative",whiteSpace:"nowrap",background:e.boolean.background,borderRadius:"3em",padding:1,'&[aria-disabled="true"]':{opacity:.5,input:{cursor:"not-allowed"}},input:{appearance:"none",width:"100%",height:"100%",position:"absolute",left:0,top:0,margin:0,padding:0,border:"none",background:"transparent",cursor:"pointer",borderRadius:"3em","&:focus":{outline:"none",boxShadow:`${e.color.secondary} 0 0 0 1px inset !important`}},span:{textAlign:"center",fontSize:e.typography.size.s1,fontWeight:e.typography.weight.bold,lineHeight:"1",cursor:"pointer",display:"inline-block",padding:"7px 15px",transition:"all 100ms ease-out",userSelect:"none",borderRadius:"3em",color:oe(.5,e.color.defaultText),background:"transparent","&:hover":{boxShadow:`${Zi(.3,e.appBorderColor)} 0 0 0 1px inset`},"&:active":{boxShadow:`${Zi(.05,e.appBorderColor)} 0 0 0 2px inset`,color:Zi(1,e.appBorderColor)},"&:first-of-type":{paddingRight:8},"&:last-of-type":{paddingLeft:8}},"input:checked ~ span:last-of-type, input:not(:checked) ~ span:first-of-type":{background:e.boolean.selectedBackground,boxShadow:e.base==="light"?`${Zi(.1,e.appBorderColor)} 0 0 2px`:`${e.appBorderColor} 0 0 0 1px`,color:e.color.defaultText,padding:"7px 15px"}})),YM=e=>e==="true",KM=({name:e,value:t,onChange:r,onBlur:n,onFocus:a,argType:o})=>{var p;let i=l.useCallback(()=>r(!1),[r]),s=!!((p=o==null?void 0:o.table)!=null&&p.readonly);if(t===void 0)return y.createElement(Sn,{variant:"outline",size:"medium",id:hs(e),onClick:i,disabled:s},"Set boolean");let c=vt(e),d=typeof t=="string"?YM(t):t;return y.createElement(GM,{"aria-disabled":s,htmlFor:c,"aria-label":e},y.createElement("input",{id:c,type:"checkbox",onChange:m=>r(m.target.checked),checked:d,role:"switch",disabled:s,name:e,onBlur:n,onFocus:a}),y.createElement("span",{"aria-hidden":"true"},"False"),y.createElement("span",{"aria-hidden":"true"},"True"))},ZM=e=>{let[t,r,n]=e.split("-"),a=new Date;return a.setFullYear(parseInt(t,10),parseInt(r,10)-1,parseInt(n,10)),a},JM=e=>{let[t,r]=e.split(":"),n=new Date;return n.setHours(parseInt(t,10)),n.setMinutes(parseInt(r,10)),n},XM=e=>{let t=new Date(e),r=`000${t.getFullYear()}`.slice(-4),n=`0${t.getMonth()+1}`.slice(-2),a=`0${t.getDate()}`.slice(-2);return`${r}-${n}-${a}`},QM=e=>{let t=new Date(e),r=`0${t.getHours()}`.slice(-2),n=`0${t.getMinutes()}`.slice(-2);return`${r}:${n}`},I4=F(yi.Input)(({readOnly:e})=>({opacity:e?.5:1})),eP=F.div(({theme:e})=>({flex:1,display:"flex",input:{marginLeft:10,flex:1,height:32,"&::-webkit-calendar-picker-indicator":{opacity:.5,height:12,filter:e.base==="light"?void 0:"invert(1)"}},"input:first-of-type":{marginLeft:0,flexGrow:4},"input:last-of-type":{flexGrow:3}})),tP=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,argType:o})=>{var v;let[i,s]=l.useState(!0),c=l.useRef(),d=l.useRef(),p=!!((v=o==null?void 0:o.table)!=null&&v.readonly);l.useEffect(()=>{i!==!1&&(c&&c.current&&(c.current.value=t?XM(t):""),d&&d.current&&(d.current.value=t?QM(t):""))},[t]);let m=g=>{if(!g.target.value)return r();let w=ZM(g.target.value),x=new Date(t);x.setFullYear(w.getFullYear(),w.getMonth(),w.getDate());let D=x.getTime();D&&r(D),s(!!D)},h=g=>{if(!g.target.value)return r();let w=JM(g.target.value),x=new Date(t);x.setHours(w.getHours()),x.setMinutes(w.getMinutes());let D=x.getTime();D&&r(D),s(!!D)},f=vt(e);return y.createElement(eP,null,y.createElement(I4,{type:"date",max:"9999-12-31",ref:c,id:`${f}-date`,name:`${f}-date`,readOnly:p,onChange:m,onFocus:n,onBlur:a}),y.createElement(I4,{type:"time",id:`${f}-time`,name:`${f}-time`,ref:d,onChange:h,readOnly:p,onFocus:n,onBlur:a}),i?null:y.createElement("div",null,"invalid"))},rP=F.label({display:"flex"}),nP=e=>{let t=parseFloat(e);return Number.isNaN(t)?void 0:t},aP=F(yi.Input)(({readOnly:e})=>({opacity:e?.5:1})),oP=({name:e,value:t,onChange:r,min:n,max:a,step:o,onBlur:i,onFocus:s,argType:c})=>{var E;let[d,p]=l.useState(typeof t=="number"?t:""),[m,h]=l.useState(!1),[f,v]=l.useState(null),g=!!((E=c==null?void 0:c.table)!=null&&E.readonly),w=l.useCallback(b=>{p(b.target.value);let C=parseFloat(b.target.value);Number.isNaN(C)?v(new Error(`'${b.target.value}' is not a number`)):(r(C),v(null))},[r,v]),x=l.useCallback(()=>{p("0"),r(0),h(!0)},[h]),D=l.useRef(null);return l.useEffect(()=>{m&&D.current&&D.current.select()},[m]),l.useEffect(()=>{d!==(typeof t=="number"?t:"")&&p(t)},[t]),t===void 0?y.createElement(Sn,{variant:"outline",size:"medium",id:hs(e),onClick:x,disabled:g},"Set number"):y.createElement(rP,null,y.createElement(aP,{ref:D,id:vt(e),type:"number",onChange:w,size:"flex",placeholder:"Edit number...",value:d,valid:f?"error":null,autoFocus:m,readOnly:g,name:e,min:n,max:a,step:o,onFocus:s,onBlur:i}))},ux=(e,t)=>{let r=t&&Object.entries(t).find(([n,a])=>a===e);return r?r[0]:void 0},j1=(e,t)=>e&&t?Object.entries(t).filter(r=>e.includes(r[1])).map(r=>r[0]):[],cx=(e,t)=>e&&t&&e.map(r=>t[r]),iP=F.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}},e=>{if(e["aria-readonly"]==="true")return{input:{cursor:"not-allowed"}}}),lP=F.span({"[aria-readonly=true] &":{opacity:.5}}),sP=F.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),B4=({name:e,options:t,value:r,onChange:n,isInline:a,argType:o})=>{var h;if(!t)return Xf.warn(`Checkbox with no options: ${e}`),y.createElement(y.Fragment,null,"-");let i=j1(r,t),[s,c]=l.useState(i),d=!!((h=o==null?void 0:o.table)!=null&&h.readonly),p=f=>{let v=f.target.value,g=[...s];g.includes(v)?g.splice(g.indexOf(v),1):g.push(v),n(cx(g,t)),c(g)};l.useEffect(()=>{c(j1(r,t))},[r]);let m=vt(e);return y.createElement(iP,{"aria-readonly":d,isInline:a},Object.keys(t).map((f,v)=>{let g=`${m}-${v}`;return y.createElement(sP,{key:g,htmlFor:g},y.createElement("input",{type:"checkbox",disabled:d,id:g,name:g,value:f,onChange:p,checked:s==null?void 0:s.includes(f)}),y.createElement(lP,null,f))}))},uP=F.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}},e=>{if(e["aria-readonly"]==="true")return{input:{cursor:"not-allowed"}}}),cP=F.span({"[aria-readonly=true] &":{opacity:.5}}),dP=F.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),T4=({name:e,options:t,value:r,onChange:n,isInline:a,argType:o})=>{var d;if(!t)return Xf.warn(`Radio with no options: ${e}`),y.createElement(y.Fragment,null,"-");let i=ux(r,t),s=vt(e),c=!!((d=o==null?void 0:o.table)!=null&&d.readonly);return y.createElement(uP,{"aria-readonly":c,isInline:a},Object.keys(t).map((p,m)=>{let h=`${s}-${m}`;return y.createElement(dP,{key:h,htmlFor:h},y.createElement("input",{type:"radio",id:h,name:s,disabled:c,value:p,onChange:f=>n(t[f.currentTarget.value]),checked:p===i}),y.createElement(cP,null,p))}))},pP={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},dx=F.select(pP,({theme:e})=>({boxSizing:"border-box",position:"relative",padding:"6px 10px",width:"100%",color:e.input.color||"inherit",background:e.input.background,borderRadius:e.input.borderRadius,boxShadow:`${e.input.border} 0 0 0 1px inset`,fontSize:e.typography.size.s2-1,lineHeight:"20px","&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"::placeholder":{color:e.textMutedColor},"&[multiple]":{overflow:"auto",padding:0,option:{display:"block",padding:"6px 10px",marginLeft:1,marginRight:1}}})),px=F.span(({theme:e})=>({display:"inline-block",lineHeight:"normal",overflow:"hidden",position:"relative",verticalAlign:"top",width:"100%",svg:{position:"absolute",zIndex:1,pointerEvents:"none",height:"12px",marginTop:"-6px",right:"12px",top:"50%",fill:e.textMutedColor,path:{fill:e.textMutedColor}}})),z4="Choose option...",fP=({name:e,value:t,options:r,onChange:n,argType:a})=>{var d;let o=p=>{n(r[p.currentTarget.value])},i=ux(t,r)||z4,s=vt(e),c=!!((d=a==null?void 0:a.table)!=null&&d.readonly);return y.createElement(px,null,y.createElement(B9,null),y.createElement(dx,{disabled:c,id:s,value:i,onChange:o},y.createElement("option",{key:"no-selection",disabled:!0},z4),Object.keys(r).map(p=>y.createElement("option",{key:p,value:p},p))))},hP=({name:e,value:t,options:r,onChange:n,argType:a})=>{var d;let o=p=>{let m=Array.from(p.currentTarget.options).filter(h=>h.selected).map(h=>h.value);n(cx(m,r))},i=j1(t,r),s=vt(e),c=!!((d=a==null?void 0:a.table)!=null&&d.readonly);return y.createElement(px,null,y.createElement(dx,{disabled:c,id:s,multiple:!0,value:i,onChange:o},Object.keys(r).map(p=>y.createElement("option",{key:p,value:p},p))))},L4=e=>{let{name:t,options:r}=e;return r?e.isMulti?y.createElement(hP,{...e}):y.createElement(fP,{...e}):(Xf.warn(`Select with no options: ${t}`),y.createElement(y.Fragment,null,"-"))},mP=(e,t)=>Array.isArray(e)?e.reduce((r,n)=>(r[(t==null?void 0:t[n])||String(n)]=n,r),{}):e,gP={check:B4,"inline-check":B4,radio:T4,"inline-radio":T4,select:L4,"multi-select":L4},Pn=e=>{let{type:t="select",labels:r,argType:n}=e,a={...e,argType:n,options:n?mP(n.options,r):{},isInline:t.includes("inline"),isMulti:t.includes("multi")},o=gP[t];if(o)return y.createElement(o,{...a});throw new Error(`Unknown options type: ${t}`)},vP="Error",yP="Object",bP="Array",wP="String",EP="Number",xP="Boolean",DP="Date",CP="Null",SP="Undefined",kP="Function",AP="Symbol",fx="ADD_DELTA_TYPE",hx="REMOVE_DELTA_TYPE",mx="UPDATE_DELTA_TYPE",rh="value",FP="key";function nn(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)&&typeof e[Symbol.iterator]=="function"?"Iterable":Object.prototype.toString.call(e).slice(8,-1)}function gx(e,t){let r=nn(e),n=nn(t);return(r==="Function"||n==="Function")&&n!==r}var nh=class extends l.Component{constructor(e){super(e),this.state={inputRefKey:null,inputRefValue:null},this.refInputValue=this.refInputValue.bind(this),this.refInputKey=this.refInputKey.bind(this),this.onKeydown=this.onKeydown.bind(this),this.onSubmit=this.onSubmit.bind(this)}componentDidMount(){let{inputRefKey:e,inputRefValue:t}=this.state,{onlyValue:r}=this.props;e&&typeof e.focus=="function"&&e.focus(),r&&t&&typeof t.focus=="function"&&t.focus(),document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.onSubmit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.props.handleCancel()))}onSubmit(){let{handleAdd:e,onlyValue:t,onSubmitValueParser:r,keyPath:n,deep:a}=this.props,{inputRefKey:o,inputRefValue:i}=this.state,s={};if(!t){if(!o.value)return;s.key=o.value}s.newValue=r(!1,n,a,s.key,i.value),e(s)}refInputKey(e){this.state.inputRefKey=e}refInputValue(e){this.state.inputRefValue=e}render(){let{handleCancel:e,onlyValue:t,addButtonElement:r,cancelButtonElement:n,inputElementGenerator:a,keyPath:o,deep:i}=this.props,s=l.cloneElement(r,{onClick:this.onSubmit}),c=l.cloneElement(n,{onClick:e}),d=a(rh,o,i),p=l.cloneElement(d,{placeholder:"Value",ref:this.refInputValue}),m=null;if(!t){let h=a(FP,o,i);m=l.cloneElement(h,{placeholder:"Key",ref:this.refInputKey})}return y.createElement("span",{className:"rejt-add-value-node"},m,p,c,s)}};nh.defaultProps={onlyValue:!1,addButtonElement:y.createElement("button",null,"+"),cancelButtonElement:y.createElement("button",null,"c")};var vx=class extends l.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={data:e.data,name:e.name,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveItem=this.handleRemoveItem.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:a}=this.props,o=n.length;a(n[o-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleRemoveItem(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:a,nextDeep:o}=this.state,i=n[e];t(e,a,o,i).then(()=>{let s={keyPath:a,deep:o,key:e,oldValue:i,type:hx};n.splice(e,1),this.setState({data:n});let{onUpdate:c,onDeltaUpdate:d}=this.props;c(a[a.length-1],n),d(s)}).catch(r.error)}}handleAddValueAdd({newValue:e}){let{data:t,keyPath:r,nextDeep:n}=this.state,{beforeAddAction:a,logger:o}=this.props;a(t.length,r,n,e).then(()=>{let i=[...t,e];this.setState({data:i}),this.handleAddValueCancel();let{onUpdate:s,onDeltaUpdate:c}=this.props;s(r[r.length-1],i),c({type:fx,keyPath:r,deep:n,key:i.length-1,newValue:e})}).catch(o.error)}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:a}=this.props,{data:o,keyPath:i,nextDeep:s}=this.state,c=o[e];a(e,i,s,c,t).then(()=>{o[e]=t,this.setState({data:o});let{onUpdate:d,onDeltaUpdate:p}=this.props;d(i[i.length-1],o),p({type:mx,keyPath:i,deep:s,key:e,newValue:t,oldValue:c}),r(void 0)}).catch(n)})}renderCollapsed(){let{name:e,data:t,keyPath:r,deep:n}=this.state,{handleRemove:a,readOnly:o,getStyle:i,dataType:s,minusMenuElement:c}=this.props,{minus:d,collapsed:p}=i(e,t,r,n,s),m=o(e,t,r,n,s),h=l.cloneElement(c,{onClick:a,className:"rejt-minus-menu",style:d});return y.createElement("span",{className:"rejt-collapsed"},y.createElement("span",{className:"rejt-collapsed-text",style:p,onClick:this.handleCollapseMode},"[...] ",t.length," ",t.length===1?"item":"items"),!m&&h)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,addFormVisible:a,nextDeep:o}=this.state,{isCollapsed:i,handleRemove:s,onDeltaUpdate:c,readOnly:d,getStyle:p,dataType:m,addButtonElement:h,cancelButtonElement:f,editButtonElement:v,inputElementGenerator:g,textareaElementGenerator:w,minusMenuElement:x,plusMenuElement:D,beforeRemoveAction:E,beforeAddAction:b,beforeUpdateAction:C,logger:S,onSubmitValueParser:k}=this.props,{minus:A,plus:_,delimiter:I,ul:B,addForm:z}=p(e,t,r,n,m),L=d(e,t,r,n,m),M=l.cloneElement(D,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:_}),O=l.cloneElement(x,{onClick:s,className:"rejt-minus-menu",style:A});return y.createElement("span",{className:"rejt-not-collapsed"},y.createElement("span",{className:"rejt-not-collapsed-delimiter",style:I},"["),!a&&M,y.createElement("ul",{className:"rejt-not-collapsed-list",style:B},t.map((P,j)=>y.createElement(gu,{key:j,name:j.toString(),data:P,keyPath:r,deep:o,isCollapsed:i,handleRemove:this.handleRemoveItem(j),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:c,readOnly:d,getStyle:p,addButtonElement:h,cancelButtonElement:f,editButtonElement:v,inputElementGenerator:g,textareaElementGenerator:w,minusMenuElement:x,plusMenuElement:D,beforeRemoveAction:E,beforeAddAction:b,beforeUpdateAction:C,logger:S,onSubmitValueParser:k}))),!L&&a&&y.createElement("div",{className:"rejt-add-form",style:z},y.createElement(nh,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,onlyValue:!0,addButtonElement:h,cancelButtonElement:f,inputElementGenerator:g,keyPath:r,deep:n,onSubmitValueParser:k})),y.createElement("span",{className:"rejt-not-collapsed-delimiter",style:I},"]"),!L&&O)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:a}=this.state,{dataType:o,getStyle:i}=this.props,s=t?this.renderCollapsed():this.renderNotCollapsed(),c=i(e,r,n,a,o);return y.createElement("div",{className:"rejt-array-node"},y.createElement("span",{onClick:this.handleCollapseMode},y.createElement("span",{className:"rejt-name",style:c.name},e," :"," ")),s)}};vx.defaultProps={keyPath:[],deep:0,minusMenuElement:y.createElement("span",null," - "),plusMenuElement:y.createElement("span",null," + ")};var yx=class extends l.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:r,value:n,keyPath:a,deep:o}=this.state,{readOnly:i,dataType:s}=this.props,c=i(r,n,a,o,s);e&&!c&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:a}=this.props,{inputRef:o,name:i,deep:s}=this.state;if(!o)return;let c=n(!0,a,s,i,o.value);e({value:c,key:i}).then(()=>{gx(t,c)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:a}=this.state,{handleRemove:o,originalValue:i,readOnly:s,dataType:c,getStyle:d,editButtonElement:p,cancelButtonElement:m,textareaElementGenerator:h,minusMenuElement:f,keyPath:v}=this.props,g=d(e,i,n,a,c),w=null,x=null,D=s(e,i,n,a,c);if(r&&!D){let E=h(rh,v,a,e,i,c),b=l.cloneElement(p,{onClick:this.handleEdit}),C=l.cloneElement(m,{onClick:this.handleCancelEdit}),S=l.cloneElement(E,{ref:this.refInput,defaultValue:i});w=y.createElement("span",{className:"rejt-edit-form",style:g.editForm},S," ",C,b),x=null}else{w=y.createElement("span",{className:"rejt-value",style:g.value,onClick:D?null:this.handleEditMode},t);let E=l.cloneElement(f,{onClick:o,className:"rejt-minus-menu",style:g.minus});x=D?null:E}return y.createElement("li",{className:"rejt-function-value-node",style:g.li},y.createElement("span",{className:"rejt-name",style:g.name},e," :"," "),w,x)}};yx.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>{},editButtonElement:y.createElement("button",null,"e"),cancelButtonElement:y.createElement("button",null,"c"),minusMenuElement:y.createElement("span",null," - ")};var gu=class extends l.Component{constructor(e){super(e),this.state={data:e.data,name:e.name,keyPath:e.keyPath,deep:e.deep}}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}render(){let{data:e,name:t,keyPath:r,deep:n}=this.state,{isCollapsed:a,handleRemove:o,handleUpdateValue:i,onUpdate:s,onDeltaUpdate:c,readOnly:d,getStyle:p,addButtonElement:m,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,textareaElementGenerator:g,minusMenuElement:w,plusMenuElement:x,beforeRemoveAction:D,beforeAddAction:E,beforeUpdateAction:b,logger:C,onSubmitValueParser:S}=this.props,k=()=>!0,A=nn(e);switch(A){case vP:return y.createElement(V1,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:s,onDeltaUpdate:c,readOnly:k,dataType:A,getStyle:p,addButtonElement:m,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,textareaElementGenerator:g,minusMenuElement:w,plusMenuElement:x,beforeRemoveAction:D,beforeAddAction:E,beforeUpdateAction:b,logger:C,onSubmitValueParser:S});case yP:return y.createElement(V1,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:s,onDeltaUpdate:c,readOnly:d,dataType:A,getStyle:p,addButtonElement:m,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,textareaElementGenerator:g,minusMenuElement:w,plusMenuElement:x,beforeRemoveAction:D,beforeAddAction:E,beforeUpdateAction:b,logger:C,onSubmitValueParser:S});case bP:return y.createElement(vx,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:s,onDeltaUpdate:c,readOnly:d,dataType:A,getStyle:p,addButtonElement:m,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,textareaElementGenerator:g,minusMenuElement:w,plusMenuElement:x,beforeRemoveAction:D,beforeAddAction:E,beforeUpdateAction:b,logger:C,onSubmitValueParser:S});case wP:return y.createElement(mr,{name:t,value:`"${e}"`,originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:A,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,minusMenuElement:w,logger:C,onSubmitValueParser:S});case EP:return y.createElement(mr,{name:t,value:e,originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:A,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,minusMenuElement:w,logger:C,onSubmitValueParser:S});case xP:return y.createElement(mr,{name:t,value:e?"true":"false",originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:A,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,minusMenuElement:w,logger:C,onSubmitValueParser:S});case DP:return y.createElement(mr,{name:t,value:e.toISOString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:k,dataType:A,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,minusMenuElement:w,logger:C,onSubmitValueParser:S});case CP:return y.createElement(mr,{name:t,value:"null",originalValue:"null",keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:A,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,minusMenuElement:w,logger:C,onSubmitValueParser:S});case SP:return y.createElement(mr,{name:t,value:"undefined",originalValue:"undefined",keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:A,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,minusMenuElement:w,logger:C,onSubmitValueParser:S});case kP:return y.createElement(yx,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:A,getStyle:p,cancelButtonElement:h,editButtonElement:f,textareaElementGenerator:g,minusMenuElement:w,logger:C,onSubmitValueParser:S});case AP:return y.createElement(mr,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:k,dataType:A,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,minusMenuElement:w,logger:C,onSubmitValueParser:S});default:return null}}};gu.defaultProps={keyPath:[],deep:0};var V1=class extends l.Component{constructor(e){super(e);let t=e.deep===-1?[]:[...e.keyPath,e.name];this.state={name:e.name,data:e.data,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveValue=this.handleRemoveValue.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:a}=this.props,o=n.length;a(n[o-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleAddValueAdd({key:e,newValue:t}){let{data:r,keyPath:n,nextDeep:a}=this.state,{beforeAddAction:o,logger:i}=this.props;o(e,n,a,t).then(()=>{r[e]=t,this.setState({data:r}),this.handleAddValueCancel();let{onUpdate:s,onDeltaUpdate:c}=this.props;s(n[n.length-1],r),c({type:fx,keyPath:n,deep:a,key:e,newValue:t})}).catch(i.error)}handleRemoveValue(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:a,nextDeep:o}=this.state,i=n[e];t(e,a,o,i).then(()=>{let s={keyPath:a,deep:o,key:e,oldValue:i,type:hx};delete n[e],this.setState({data:n});let{onUpdate:c,onDeltaUpdate:d}=this.props;c(a[a.length-1],n),d(s)}).catch(r.error)}}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:a}=this.props,{data:o,keyPath:i,nextDeep:s}=this.state,c=o[e];a(e,i,s,c,t).then(()=>{o[e]=t,this.setState({data:o});let{onUpdate:d,onDeltaUpdate:p}=this.props;d(i[i.length-1],o),p({type:mx,keyPath:i,deep:s,key:e,newValue:t,oldValue:c}),r()}).catch(n)})}renderCollapsed(){let{name:e,keyPath:t,deep:r,data:n}=this.state,{handleRemove:a,readOnly:o,dataType:i,getStyle:s,minusMenuElement:c}=this.props,{minus:d,collapsed:p}=s(e,n,t,r,i),m=Object.getOwnPropertyNames(n),h=o(e,n,t,r,i),f=l.cloneElement(c,{onClick:a,className:"rejt-minus-menu",style:d});return y.createElement("span",{className:"rejt-collapsed"},y.createElement("span",{className:"rejt-collapsed-text",style:p,onClick:this.handleCollapseMode},"{...}"," ",m.length," ",m.length===1?"key":"keys"),!h&&f)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,nextDeep:a,addFormVisible:o}=this.state,{isCollapsed:i,handleRemove:s,onDeltaUpdate:c,readOnly:d,getStyle:p,dataType:m,addButtonElement:h,cancelButtonElement:f,editButtonElement:v,inputElementGenerator:g,textareaElementGenerator:w,minusMenuElement:x,plusMenuElement:D,beforeRemoveAction:E,beforeAddAction:b,beforeUpdateAction:C,logger:S,onSubmitValueParser:k}=this.props,{minus:A,plus:_,addForm:I,ul:B,delimiter:z}=p(e,t,r,n,m),L=Object.getOwnPropertyNames(t),M=d(e,t,r,n,m),O=l.cloneElement(D,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:_}),P=l.cloneElement(x,{onClick:s,className:"rejt-minus-menu",style:A}),j=L.map(U=>y.createElement(gu,{key:U,name:U,data:t[U],keyPath:r,deep:a,isCollapsed:i,handleRemove:this.handleRemoveValue(U),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:c,readOnly:d,getStyle:p,addButtonElement:h,cancelButtonElement:f,editButtonElement:v,inputElementGenerator:g,textareaElementGenerator:w,minusMenuElement:x,plusMenuElement:D,beforeRemoveAction:E,beforeAddAction:b,beforeUpdateAction:C,logger:S,onSubmitValueParser:k}));return y.createElement("span",{className:"rejt-not-collapsed"},y.createElement("span",{className:"rejt-not-collapsed-delimiter",style:z},"{"),!M&&O,y.createElement("ul",{className:"rejt-not-collapsed-list",style:B},j),!M&&o&&y.createElement("div",{className:"rejt-add-form",style:I},y.createElement(nh,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,addButtonElement:h,cancelButtonElement:f,inputElementGenerator:g,keyPath:r,deep:n,onSubmitValueParser:k})),y.createElement("span",{className:"rejt-not-collapsed-delimiter",style:z},"}"),!M&&P)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:a}=this.state,{getStyle:o,dataType:i}=this.props,s=t?this.renderCollapsed():this.renderNotCollapsed(),c=o(e,r,n,a,i);return y.createElement("div",{className:"rejt-object-node"},y.createElement("span",{onClick:this.handleCollapseMode},y.createElement("span",{className:"rejt-name",style:c.name},e," :"," ")),s)}};V1.defaultProps={keyPath:[],deep:0,minusMenuElement:y.createElement("span",null," - "),plusMenuElement:y.createElement("span",null," + ")};var mr=class extends l.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:r,value:n,keyPath:a,deep:o}=this.state,{readOnly:i,dataType:s}=this.props,c=i(r,n,a,o,s);e&&!c&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:a}=this.props,{inputRef:o,name:i,deep:s}=this.state;if(!o)return;let c=n(!0,a,s,i,o.value);e({value:c,key:i}).then(()=>{gx(t,c)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:a}=this.state,{handleRemove:o,originalValue:i,readOnly:s,dataType:c,getStyle:d,editButtonElement:p,cancelButtonElement:m,inputElementGenerator:h,minusMenuElement:f,keyPath:v}=this.props,g=d(e,i,n,a,c),w=s(e,i,n,a,c),x=r&&!w,D=h(rh,v,a,e,i,c),E=l.cloneElement(p,{onClick:this.handleEdit}),b=l.cloneElement(m,{onClick:this.handleCancelEdit}),C=l.cloneElement(D,{ref:this.refInput,defaultValue:JSON.stringify(i)}),S=l.cloneElement(f,{onClick:o,className:"rejt-minus-menu",style:g.minus});return y.createElement("li",{className:"rejt-value-node",style:g.li},y.createElement("span",{className:"rejt-name",style:g.name},e," : "),x?y.createElement("span",{className:"rejt-edit-form",style:g.editForm},C," ",b,E):y.createElement("span",{className:"rejt-value",style:g.value,onClick:w?null:this.handleEditMode},String(t)),!w&&!x&&S)}};mr.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>Promise.resolve(),editButtonElement:y.createElement("button",null,"e"),cancelButtonElement:y.createElement("button",null,"c"),minusMenuElement:y.createElement("span",null," - ")};function _P(e){let t=e;if(t.indexOf("function")===0)return(0,eval)(`(${t})`);try{t=JSON.parse(e)}catch{}return t}var RP={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},IP={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},BP={minus:{color:"red"},editForm:{},value:{color:"#7bba3d"},li:{minHeight:"22px",lineHeight:"22px",outline:"0px"},name:{color:"#2287CD"}},bx=class extends l.Component{constructor(e){super(e),this.state={data:e.data,rootName:e.rootName},this.onUpdate=this.onUpdate.bind(this),this.removeRoot=this.removeRoot.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data||e.rootName!==t.rootName?{data:e.data,rootName:e.rootName}:null}onUpdate(e,t){this.setState({data:t}),this.props.onFullyUpdate(t)}removeRoot(){this.onUpdate(null,null)}render(){let{data:e,rootName:t}=this.state,{isCollapsed:r,onDeltaUpdate:n,readOnly:a,getStyle:o,addButtonElement:i,cancelButtonElement:s,editButtonElement:c,inputElement:d,textareaElement:p,minusMenuElement:m,plusMenuElement:h,beforeRemoveAction:f,beforeAddAction:v,beforeUpdateAction:g,logger:w,onSubmitValueParser:x,fallback:D=null}=this.props,E=nn(e),b=a;nn(a)==="Boolean"&&(b=()=>a);let C=d;d&&nn(d)!=="Function"&&(C=()=>d);let S=p;return p&&nn(p)!=="Function"&&(S=()=>p),E==="Object"||E==="Array"?y.createElement("div",{className:"rejt-tree"},y.createElement(gu,{data:e,name:t,deep:-1,isCollapsed:r,onUpdate:this.onUpdate,onDeltaUpdate:n,readOnly:b,getStyle:o,addButtonElement:i,cancelButtonElement:s,editButtonElement:c,inputElementGenerator:C,textareaElementGenerator:S,minusMenuElement:m,plusMenuElement:h,handleRemove:this.removeRoot,beforeRemoveAction:f,beforeAddAction:v,beforeUpdateAction:g,logger:w,onSubmitValueParser:x})):D}};bx.defaultProps={rootName:"root",isCollapsed:(e,t)=>t!==-1,getStyle:(e,t,r,n,a)=>{switch(a){case"Object":case"Error":return RP;case"Array":return IP;default:return BP}},readOnly:()=>!1,onFullyUpdate:()=>{},onDeltaUpdate:()=>{},beforeRemoveAction:()=>Promise.resolve(),beforeAddAction:()=>Promise.resolve(),beforeUpdateAction:()=>Promise.resolve(),logger:{error:()=>{}},onSubmitValueParser:(e,t,r,n,a)=>_P(a),inputElement:()=>y.createElement("input",null),textareaElement:()=>y.createElement("textarea",null),fallback:null};var{window:TP}=globalThis,zP=F.div(({theme:e})=>({position:"relative",display:"flex",'&[aria-readonly="true"]':{opacity:.5},".rejt-tree":{marginLeft:"1rem",fontSize:"13px"},".rejt-value-node, .rejt-object-node > .rejt-collapsed, .rejt-array-node > .rejt-collapsed, .rejt-object-node > .rejt-not-collapsed, .rejt-array-node > .rejt-not-collapsed":{"& > svg":{opacity:0,transition:"opacity 0.2s"}},".rejt-value-node:hover, .rejt-object-node:hover > .rejt-collapsed, .rejt-array-node:hover > .rejt-collapsed, .rejt-object-node:hover > .rejt-not-collapsed, .rejt-array-node:hover > .rejt-not-collapsed":{"& > svg":{opacity:1}},".rejt-edit-form button":{display:"none"},".rejt-add-form":{marginLeft:10},".rejt-add-value-node":{display:"inline-flex",alignItems:"center"},".rejt-name":{lineHeight:"22px"},".rejt-not-collapsed-delimiter":{lineHeight:"22px"},".rejt-plus-menu":{marginLeft:5},".rejt-object-node > span > *, .rejt-array-node > span > *":{position:"relative",zIndex:2},".rejt-object-node, .rejt-array-node":{position:"relative"},".rejt-object-node > span:first-of-type::after, .rejt-array-node > span:first-of-type::after, .rejt-collapsed::before, .rejt-not-collapsed::before":{content:'""',position:"absolute",top:0,display:"block",width:"100%",marginLeft:"-1rem",padding:"0 4px 0 1rem",height:22},".rejt-collapsed::before, .rejt-not-collapsed::before":{zIndex:1,background:"transparent",borderRadius:4,transition:"background 0.2s",pointerEvents:"none",opacity:.1},".rejt-object-node:hover, .rejt-array-node:hover":{"& > .rejt-collapsed::before, & > .rejt-not-collapsed::before":{background:e.color.secondary}},".rejt-collapsed::after, .rejt-not-collapsed::after":{content:'""',position:"absolute",display:"inline-block",pointerEvents:"none",width:0,height:0},".rejt-collapsed::after":{left:-8,top:8,borderTop:"3px solid transparent",borderBottom:"3px solid transparent",borderLeft:"3px solid rgba(153,153,153,0.6)"},".rejt-not-collapsed::after":{left:-10,top:10,borderTop:"3px solid rgba(153,153,153,0.6)",borderLeft:"3px solid transparent",borderRight:"3px solid transparent"},".rejt-value":{display:"inline-block",border:"1px solid transparent",borderRadius:4,margin:"1px 0",padding:"0 4px",cursor:"text",color:e.color.defaultText},".rejt-value-node:hover > .rejt-value":{background:e.color.lighter,borderColor:e.appBorderColor}})),Y0=F.button(({theme:e,primary:t})=>({border:0,height:20,margin:1,borderRadius:4,background:t?e.color.secondary:"transparent",color:t?e.color.lightest:e.color.dark,fontWeight:t?"bold":"normal",cursor:"pointer",order:t?"initial":9})),LP=F(wL)(({theme:e,disabled:t})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:t?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":t?{}:{color:e.color.ancillary},"svg + &":{marginLeft:0}})),OP=F(EL)(({theme:e,disabled:t})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:t?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":t?{}:{color:e.color.negative},"svg + &":{marginLeft:0}})),O4=F.input(({theme:e,placeholder:t})=>({outline:0,margin:t?1:"1px 0",padding:"3px 4px",color:e.color.defaultText,background:e.background.app,border:`1px solid ${e.appBorderColor}`,borderRadius:4,lineHeight:"14px",width:t==="Key"?80:120,"&:focus":{border:`1px solid ${e.color.secondary}`}})),MP=F(sn)(({theme:e})=>({position:"absolute",zIndex:2,top:2,right:2,height:21,padding:"0 3px",background:e.background.bar,border:`1px solid ${e.appBorderColor}`,borderRadius:3,color:e.textMutedColor,fontSize:"9px",fontWeight:"bold",textDecoration:"none",span:{marginLeft:3,marginTop:1}})),PP=F(yi.Textarea)(({theme:e})=>({flex:1,padding:"7px 6px",fontFamily:e.typography.fonts.mono,fontSize:"12px",lineHeight:"18px","&::placeholder":{fontFamily:e.typography.fonts.base,fontSize:"13px"},"&:placeholder-shown":{padding:"7px 10px"}})),$P={bubbles:!0,cancelable:!0,key:"Enter",code:"Enter",keyCode:13},NP=e=>{e.currentTarget.dispatchEvent(new TP.KeyboardEvent("keydown",$P))},HP=e=>{e.currentTarget.select()},jP=e=>()=>({name:{color:e.color.secondary},collapsed:{color:e.color.dark},ul:{listStyle:"none",margin:"0 0 0 1rem",padding:0},li:{outline:0}}),M4=({name:e,value:t,onChange:r,argType:n})=>{var E;let a=D3(),o=l.useMemo(()=>t&&aD(t),[t]),i=o!=null,[s,c]=l.useState(!i),[d,p]=l.useState(null),m=!!((E=n==null?void 0:n.table)!=null&&E.readonly),h=l.useCallback(b=>{try{b&&r(JSON.parse(b)),p(void 0)}catch(C){p(C)}},[r]),[f,v]=l.useState(!1),g=l.useCallback(()=>{r({}),v(!0)},[v]),w=l.useRef(null);if(l.useEffect(()=>{f&&w.current&&w.current.select()},[f]),!i)return y.createElement(Sn,{disabled:m,id:hs(e),onClick:g},"Set object");let x=y.createElement(PP,{ref:w,id:vt(e),name:e,defaultValue:t===null?"":JSON.stringify(t,null,2),onBlur:b=>h(b.target.value),placeholder:"Edit JSON string...",autoFocus:f,valid:d?"error":null,readOnly:m}),D=Array.isArray(t)||typeof t=="object"&&(t==null?void 0:t.constructor)===Object;return y.createElement(zP,{"aria-readonly":m},D&&y.createElement(MP,{onClick:b=>{b.preventDefault(),c(C=>!C)}},s?y.createElement(yL,null):y.createElement(vL,null),y.createElement("span",null,"RAW")),s?x:y.createElement(bx,{readOnly:m||!D,isCollapsed:D?void 0:()=>!0,data:o,rootName:e,onFullyUpdate:r,getStyle:jP(a),cancelButtonElement:y.createElement(Y0,{type:"button"},"Cancel"),editButtonElement:y.createElement(Y0,{type:"submit"},"Save"),addButtonElement:y.createElement(Y0,{type:"submit",primary:!0},"Save"),plusMenuElement:y.createElement(LP,null),minusMenuElement:y.createElement(OP,null),inputElement:(b,C,S,k)=>k?y.createElement(O4,{onFocus:HP,onBlur:NP}):y.createElement(O4,null),fallback:x}))},VP=F.input(({theme:e,min:t,max:r,value:n,disabled:a})=>({"&":{width:"100%",backgroundColor:"transparent",appearance:"none"},"&::-webkit-slider-runnable-track":{background:e.base==="light"?`linear-gradient(to right, ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, ${It(.02,e.input.background)} ${(n-t)/(r-t)*100}%, ${It(.02,e.input.background)} 100%)`:`linear-gradient(to right, @@ -708,7 +708,7 @@ To pass a single animation please supply them in simple values, e.g. animation(' ${It(.02,e.input.background)} 100%)`:`linear-gradient(to right, ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, ${Kr(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Kr(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,color:"transparent",width:"100%",height:"6px",cursor:"pointer"},"&::-ms-fill-lower":{borderRadius:6},"&::-ms-fill-upper":{borderRadius:6},"&::-ms-thumb":{width:16,height:16,background:`${e.input.background}`,border:`1px solid ${nr(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),wx=F.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums","[aria-readonly=true] &":{opacity:.5}}),UP=F(wx)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),qP=F.div({display:"flex",alignItems:"center",width:"100%"});function WP(e){let t=e.toString().match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}var GP=({name:e,value:t,onChange:r,min:n=0,max:a=100,step:o=1,onBlur:i,onFocus:s,argType:c})=>{var f;let d=v=>{r(nP(v.target.value))},p=t!==void 0,m=l.useMemo(()=>WP(o),[o]),h=!!((f=c==null?void 0:c.table)!=null&&f.readonly);return y.createElement(qP,{"aria-readonly":h},y.createElement(wx,null,n),y.createElement(VP,{id:vt(e),type:"range",disabled:h,onChange:d,name:e,value:t,min:n,max:a,step:o,onFocus:s,onBlur:i}),y.createElement(UP,{numberOFDecimalsPlaces:m,max:a},p?t.toFixed(m):"--"," / ",a))},YP=F.label({display:"flex"}),KP=F.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),ZP=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,maxLength:o,argType:i})=>{var f;let s=v=>{r(v.target.value)},c=!!((f=i==null?void 0:i.table)!=null&&f.readonly),[d,p]=l.useState(!1),m=l.useCallback(()=>{r(""),p(!0)},[p]);if(t===void 0)return y.createElement(Sn,{variant:"outline",size:"medium",disabled:c,id:hs(e),onClick:m},"Set string");let h=typeof t=="string";return y.createElement(YP,null,y.createElement(yi.Textarea,{id:vt(e),maxLength:o,onChange:s,disabled:c,size:"flex",placeholder:"Edit string...",autoFocus:d,valid:h?null:"error",name:e,value:h?t:"",onFocus:n,onBlur:a}),o&&y.createElement(KP,{isMaxed:(t==null?void 0:t.length)===o},(t==null?void 0:t.length)??0," / ",o))},JP=F(yi.Input)({padding:10});function XP(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var QP=({onChange:e,name:t,accept:r="image/*",value:n,argType:a})=>{var c;let o=l.useRef(null),i=(c=a==null?void 0:a.control)==null?void 0:c.readOnly;function s(d){if(!d.target.files)return;let p=Array.from(d.target.files).map(m=>URL.createObjectURL(m));e(p),XP(n)}return l.useEffect(()=>{n==null&&o.current&&(o.current.value=null)},[n,t]),y.createElement(JP,{ref:o,id:vt(t),type:"file",name:t,multiple:!0,disabled:i,onChange:s,accept:r,size:"flex"})},e$=l.lazy(()=>G4(()=>import("./Color-F6OSRLHC-C_L_hTpz.js"),__vite__mapDeps([9,2,3,1,4,5,6,7,8]),import.meta.url)),t$=e=>y.createElement(l.Suspense,{fallback:y.createElement("div",null)},y.createElement(e$,{...e})),r$={array:M4,object:M4,boolean:KM,color:t$,date:tP,number:oP,check:Pn,"inline-check":Pn,radio:Pn,"inline-radio":Pn,select:Pn,"multi-select":Pn,range:GP,text:ZP,file:QP},P4=()=>y.createElement(y.Fragment,null,"-"),n$=({row:e,arg:t,updateArgs:r,isHovered:n})=>{var g;let{key:a,control:o}=e,[i,s]=l.useState(!1),[c,d]=l.useState({value:t});l.useEffect(()=>{i||d({value:t})},[i,t]);let p=l.useCallback(w=>(d({value:w}),r({[a]:w}),w),[r,a]),m=l.useCallback(()=>s(!1),[]),h=l.useCallback(()=>s(!0),[]);if(!o||o.disable){let w=(o==null?void 0:o.disable)!==!0&&((g=e==null?void 0:e.type)==null?void 0:g.name)!=="function";return n&&w?y.createElement(oa,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):y.createElement(P4,null)}let f={name:a,argType:e,value:c.value,onChange:p,onBlur:m,onFocus:h},v=r$[o.type]||P4;return y.createElement(v,{...f,...o,controlType:o.type})},a$=F.table(({theme:e})=>({"&&":{borderCollapse:"collapse",borderSpacing:0,border:"none",tr:{border:"none !important",background:"none"},"td, th":{padding:0,border:"none",width:"auto!important"},marginTop:0,marginBottom:0,"th:first-of-type, td:first-of-type":{paddingLeft:0},"th:last-of-type, td:last-of-type":{paddingRight:0},td:{paddingTop:0,paddingBottom:4,"&:not(:first-of-type)":{paddingLeft:10,paddingRight:0}},tbody:{boxShadow:"none",border:"none"},code:Lr({theme:e}),div:{span:{fontWeight:"bold"}},"& code":{margin:0,display:"inline-block",fontSize:e.typography.size.s1}}})),o$=({tags:e})=>{let t=(e.params||[]).filter(o=>o.description),r=t.length!==0,n=e.deprecated!=null,a=e.returns!=null&&e.returns.description!=null;return!r&&!a&&!n?null:y.createElement(y.Fragment,null,y.createElement(a$,null,y.createElement("tbody",null,n&&y.createElement("tr",{key:"deprecated"},y.createElement("td",{colSpan:2},y.createElement("strong",null,"Deprecated"),": ",e.deprecated.toString())),r&&t.map(o=>y.createElement("tr",{key:o.name},y.createElement("td",null,y.createElement("code",null,o.name)),y.createElement("td",null,o.description))),a&&y.createElement("tr",{key:"returns"},y.createElement("td",null,y.createElement("code",null,"Returns")),y.createElement("td",null,e.returns.description)))))},i$=Y1(T9()),U1=8,$4=F.div(({isExpanded:e})=>({display:"flex",flexDirection:e?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100})),l$=F.span(Lr,({theme:e,simple:t=!1})=>({flex:"0 0 auto",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,wordBreak:"break-word",whiteSpace:"normal",maxWidth:"100%",margin:0,marginRight:"4px",marginBottom:"4px",paddingTop:"2px",paddingBottom:"2px",lineHeight:"13px",...t&&{background:"transparent",border:"0 none",paddingLeft:0}})),s$=F.button(({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,marginBottom:"4px",background:"none",border:"none"})),u$=F.div(Lr,({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,fontSize:e.typography.size.s1,margin:0,whiteSpace:"nowrap",display:"flex",alignItems:"center"})),c$=F.div(({theme:e,width:t})=>({width:t,minWidth:200,maxWidth:800,padding:15,fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,boxSizing:"content-box","& code":{padding:"0 !important"}})),d$=F(SL)({marginLeft:4}),p$=F(B9)({marginLeft:4}),f$=()=>y.createElement("span",null,"-"),Ex=({text:e,simple:t})=>y.createElement(l$,{simple:t},e),h$=(0,i$.default)(1e3)(e=>{let t=e.split(/\r?\n/);return`${Math.max(...t.map(r=>r.length))}ch`}),m$=e=>{if(!e)return[e];let t=e.split("|").map(r=>r.trim());return Zx(t)},N4=(e,t=!0)=>{let r=e;return t||(r=e.slice(0,U1)),r.map(n=>y.createElement(Ex,{key:n,text:n===""?'""':n}))},g$=({value:e,initialExpandedArgs:t})=>{let{summary:r,detail:n}=e,[a,o]=l.useState(!1),[i,s]=l.useState(t||!1);if(r==null)return null;let c=typeof r.toString=="function"?r.toString():r;if(n==null){if(/[(){}[\]<>]/.test(c))return y.createElement(Ex,{text:c});let d=m$(c),p=d.length;return p>U1?y.createElement($4,{isExpanded:i},N4(d,i),y.createElement(s$,{onClick:()=>s(!i)},i?"Show less...":`Show ${p-U1} more...`)):y.createElement($4,null,N4(d))}return y.createElement(fz,{closeOnOutsideClick:!0,placement:"bottom",visible:a,onVisibleChange:d=>{o(d)},tooltip:y.createElement(c$,{width:h$(n)},y.createElement(jf,{language:"jsx",format:!1},n))},y.createElement(u$,{className:"sbdocs-expandable"},y.createElement("span",null,c),a?y.createElement(d$,null):y.createElement(p$,null)))},K0=({value:e,initialExpandedArgs:t})=>e==null?y.createElement(f$,null):y.createElement(g$,{value:e,initialExpandedArgs:t}),v$=F.span({fontWeight:"bold"}),y$=F.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),b$=F.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...Lr({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),w$=F.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?oe(.1,e.color.defaultText):oe(.2,e.color.defaultText),marginTop:t?4:0})),E$=F.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?oe(.1,e.color.defaultText):oe(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),x$=F.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),D$=e=>e&&{summary:typeof e=="string"?e:e.name},Xi=e=>{var g;let[t,r]=l.useState(!1),{row:n,updateArgs:a,compact:o,expandable:i,initialExpandedArgs:s}=e,{name:c,description:d}=n,p=n.table||{},m=p.type||D$(n.type),h=p.defaultValue||n.defaultValue,f=(g=n.type)==null?void 0:g.required,v=d!=null&&d!=="";return y.createElement("tr",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},y.createElement(x$,{expandable:i},y.createElement(v$,null,c),f?y.createElement(y$,{title:"Required"},"*"):null),o?null:y.createElement("td",null,v&&y.createElement(b$,null,y.createElement(sx,null,d)),p.jsDocTags!=null?y.createElement(y.Fragment,null,y.createElement(E$,{hasDescription:v},y.createElement(K0,{value:m,initialExpandedArgs:s})),y.createElement(o$,{tags:p.jsDocTags})):y.createElement(w$,{hasDescription:v},y.createElement(K0,{value:m,initialExpandedArgs:s}))),o?null:y.createElement("td",null,y.createElement(K0,{value:h,initialExpandedArgs:s})),a?y.createElement("td",null,y.createElement(n$,{...e,isHovered:t})):null)},C$=F.div(({inAddonPanel:e,theme:t})=>({height:e?"100%":"auto",display:"flex",border:e?"none":`1px solid ${t.appBorderColor}`,borderRadius:e?0:t.appBorderRadius,padding:e?0:40,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:t.background.content,boxShadow:"rgba(0, 0, 0, 0.10) 0 1px 3px 0"})),S$=F.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),k$=F.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),A$=({inAddonPanel:e})=>{let[t,r]=l.useState(!0);return l.useEffect(()=>{let n=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(n)},[]),t?null:y.createElement(C$,{inAddonPanel:e},y.createElement(S9,{title:e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated",description:y.createElement(y.Fragment,null,"Controls give you an easy to use interface to test your components. Set your story args and you'll see controls appearing here automatically."),footer:y.createElement(S$,null,e&&y.createElement(y.Fragment,null,y.createElement(oa,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},y.createElement(bL,null)," Watch 5m video"),y.createElement(k$,null),y.createElement(oa,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},y.createElement(z1,null)," Read docs")),!e&&y.createElement(oa,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},y.createElement(z1,null)," Learn how to set that up"))}))},F$=F(DL)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?oe(.25,e.color.defaultText):oe(.3,e.color.defaultText),border:"none",display:"inline-block"})),_$=F(CL)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?oe(.25,e.color.defaultText):oe(.3,e.color.defaultText),border:"none",display:"inline-block"})),R$=F.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),I$=F.td(({theme:e})=>({position:"relative",letterSpacing:"0.35em",textTransform:"uppercase",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s1-1,color:e.base==="light"?oe(.4,e.color.defaultText):oe(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),B$=F.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),T$=F.td(()=>({position:"relative"})),z$=F.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${Kr(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),H4=F.button(()=>({background:"none",border:"none",padding:"0",font:"inherit",position:"absolute",top:0,bottom:0,left:0,right:0,height:"100%",width:"100%",color:"transparent",cursor:"row-resize !important"})),Z0=({level:e="section",label:t,children:r,initialExpanded:n=!0,colSpan:a=3})=>{let[o,i]=l.useState(n),s=e==="subsection"?B$:I$,c=(r==null?void 0:r.length)||0,d=e==="subsection"?`${c} item${c!==1?"s":""}`:"",p=`${o?"Hide":"Show"} ${e==="subsection"?c:t} item${c!==1?"s":""}`;return y.createElement(y.Fragment,null,y.createElement(z$,{title:p},y.createElement(s,{colSpan:1},y.createElement(H4,{onClick:m=>i(!o),tabIndex:0},p),y.createElement(R$,null,o?y.createElement(F$,null):y.createElement(_$,null),t)),y.createElement(T$,{colSpan:a-1},y.createElement(H4,{onClick:m=>i(!o),tabIndex:-1,style:{outline:"none"}},p),o?null:d)),o?r:null)},Qi=F.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),Ae=F.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),me=F.div(({theme:e,width:t,height:r})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,width:t||"100%",height:r||16,borderRadius:3})),Fe=[2,4,2,2],L$=()=>y.createElement(y.Fragment,null,y.createElement(Qi,null,y.createElement(Ae,{numColumn:Fe[0]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[1]},y.createElement(me,{width:"30%"})),y.createElement(Ae,{numColumn:Fe[2]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[3]},y.createElement(me,{width:"60%"}))),y.createElement(Qi,null,y.createElement(Ae,{numColumn:Fe[0]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[1]},y.createElement(me,{width:"80%"}),y.createElement(me,{width:"30%"})),y.createElement(Ae,{numColumn:Fe[2]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[3]},y.createElement(me,{width:"60%"}))),y.createElement(Qi,null,y.createElement(Ae,{numColumn:Fe[0]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[1]},y.createElement(me,{width:"80%"}),y.createElement(me,{width:"30%"})),y.createElement(Ae,{numColumn:Fe[2]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[3]},y.createElement(me,{width:"60%"}))),y.createElement(Qi,null,y.createElement(Ae,{numColumn:Fe[0]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[1]},y.createElement(me,{width:"80%"}),y.createElement(me,{width:"30%"})),y.createElement(Ae,{numColumn:Fe[2]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[3]},y.createElement(me,{width:"60%"})))),O$=F.table(({theme:e,compact:t,inAddonPanel:r})=>({"&&":{borderSpacing:0,color:e.color.defaultText,"td, th":{padding:0,border:"none",verticalAlign:"top",textOverflow:"ellipsis"},fontSize:e.typography.size.s2-1,lineHeight:"20px",textAlign:"left",width:"100%",marginTop:r?0:25,marginBottom:r?0:40,"thead th:first-of-type, td:first-of-type":{width:"25%"},"th:first-of-type, td:first-of-type":{paddingLeft:20},"th:nth-of-type(2), td:nth-of-type(2)":{...t?null:{width:"35%"}},"td:nth-of-type(3)":{...t?null:{width:"15%"}},"th:last-of-type, td:last-of-type":{paddingRight:20,...t?null:{width:"25%"}},th:{color:e.base==="light"?oe(.25,e.color.defaultText):oe(.45,e.color.defaultText),paddingTop:10,paddingBottom:10,paddingLeft:15,paddingRight:15},td:{paddingTop:"10px",paddingBottom:"10px","&:not(:first-of-type)":{paddingLeft:15,paddingRight:15},"&:last-of-type":{paddingRight:20}},marginLeft:r?0:1,marginRight:r?0:1,tbody:{...r?null:{filter:e.base==="light"?"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.10))":"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.20))"},"> tr > *":{background:e.background.content,borderTop:`1px solid ${e.appBorderColor}`},...r?null:{"> tr:first-of-type > *":{borderBlockStart:`1px solid ${e.appBorderColor}`},"> tr:last-of-type > *":{borderBlockEnd:`1px solid ${e.appBorderColor}`},"> tr > *:first-of-type":{borderInlineStart:`1px solid ${e.appBorderColor}`},"> tr > *:last-of-type":{borderInlineEnd:`1px solid ${e.appBorderColor}`},"> tr:first-of-type > td:first-of-type":{borderTopLeftRadius:e.appBorderRadius},"> tr:first-of-type > td:last-of-type":{borderTopRightRadius:e.appBorderRadius},"> tr:last-of-type > td:first-of-type":{borderBottomLeftRadius:e.appBorderRadius},"> tr:last-of-type > td:last-of-type":{borderBottomRightRadius:e.appBorderRadius}}}}})),M$=F(sn)(({theme:e})=>({margin:"-4px -12px -4px 0"})),P$=F.span({display:"flex",justifyContent:"space-between"}),$$={alpha:(e,t)=>e.name.localeCompare(t.name),requiredFirst:(e,t)=>{var r,n;return+!!((r=t.type)!=null&&r.required)-+!!((n=e.type)!=null&&n.required)||e.name.localeCompare(t.name)},none:void 0},N$=(e,t)=>{let r={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return r;Object.entries(e).forEach(([o,i])=>{let{category:s,subcategory:c}=(i==null?void 0:i.table)||{};if(s){let d=r.sections[s]||{ungrouped:[],subsections:{}};if(!c)d.ungrouped.push({key:o,...i});else{let p=d.subsections[c]||[];p.push({key:o,...i}),d.subsections[c]=p}r.sections[s]=d}else if(c){let d=r.ungroupedSubsections[c]||[];d.push({key:o,...i}),r.ungroupedSubsections[c]=d}else r.ungrouped.push({key:o,...i})});let n=$$[t],a=o=>n?Object.keys(o).reduce((i,s)=>({...i,[s]:o[s].sort(n)}),{}):o;return{ungrouped:r.ungrouped.sort(n),ungroupedSubsections:a(r.ungroupedSubsections),sections:Object.keys(r.sections).reduce((o,i)=>({...o,[i]:{ungrouped:r.sections[i].ungrouped.sort(n),subsections:a(r.sections[i].subsections)}}),{})}},H$=(e,t,r)=>{try{return jx(e,t,r)}catch(n){return FL.warn(n.message),!1}},q1=e=>{let{updateArgs:t,resetArgs:r,compact:n,inAddonPanel:a,initialExpandedArgs:o,sort:i="none",isLoading:s}=e;if("error"in e){let{error:D}=e;return y.createElement(P9,null,D," ",y.createElement(oa,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},y.createElement(z1,null)," Read the docs"))}if(s)return y.createElement(L$,null);let{rows:c,args:d,globals:p}="rows"in e&&e,m=N$(Jx(c||{},D=>{var E;return!((E=D==null?void 0:D.table)!=null&&E.disable)&&H$(D,d||{},p||{})}),i),h=m.ungrouped.length===0,f=Object.entries(m.sections).length===0,v=Object.entries(m.ungroupedSubsections).length===0;if(h&&f&&v)return y.createElement(A$,{inAddonPanel:a});let g=1;t&&(g+=1),n||(g+=2);let w=Object.keys(m.sections).length>0,x={updateArgs:t,compact:n,inAddonPanel:a,initialExpandedArgs:o};return y.createElement(Hf,null,y.createElement(O$,{compact:n,inAddonPanel:a,className:"docblock-argstable sb-unstyled"},y.createElement("thead",{className:"docblock-argstable-head"},y.createElement("tr",null,y.createElement("th",null,y.createElement("span",null,"Name")),n?null:y.createElement("th",null,y.createElement("span",null,"Description")),n?null:y.createElement("th",null,y.createElement("span",null,"Default")),t?y.createElement("th",null,y.createElement(P$,null,"Control"," ",!s&&r&&y.createElement(M$,{onClick:()=>r(),title:"Reset controls"},y.createElement(kL,{"aria-hidden":!0})))):null)),y.createElement("tbody",{className:"docblock-argstable-body"},m.ungrouped.map(D=>y.createElement(Xi,{key:D.key,row:D,arg:d&&d[D.key],...x})),Object.entries(m.ungroupedSubsections).map(([D,E])=>y.createElement(Z0,{key:D,label:D,level:"subsection",colSpan:g},E.map(b=>y.createElement(Xi,{key:b.key,row:b,arg:d&&d[b.key],expandable:w,...x})))),Object.entries(m.sections).map(([D,E])=>y.createElement(Z0,{key:D,label:D,level:"section",colSpan:g},E.ungrouped.map(b=>y.createElement(Xi,{key:b.key,row:b,arg:d&&d[b.key],...x})),Object.entries(E.subsections).map(([b,C])=>y.createElement(Z0,{key:b,label:b,level:"subsection",colSpan:g},C.map(S=>y.createElement(Xi,{key:S.key,row:S,arg:d&&d[S.key],expandable:w,...x})))))))))},j$=({tabs:e,...t})=>{let r=Object.entries(e);return r.length===1?y.createElement(q1,{...r[0][1],...t}):y.createElement(Kz,null,r.map((n,a)=>{let[o,i]=n,s=`prop_table_div_${o}`,c="div",d=a===0?t:{sort:t.sort};return y.createElement(c,{key:s,id:s,title:o},({active:p})=>p?y.createElement(q1,{key:`prop_table_${o}`,...i,...d}):null)}))},V$=F.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?oe(.4,e.color.defaultText):oe(.6,e.color.defaultText)})),U$=F.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}),q$=F.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}}),W$=F.div(se,({theme:e})=>({...hu(e),margin:"25px 0 40px",padding:"30px 20px"})),UV=({fontFamily:e,fontSizes:t,fontWeight:r,sampleText:n,...a})=>y.createElement(W$,{...a,className:"docblock-typeset sb-unstyled"},t.map(o=>y.createElement(q$,{key:o},y.createElement(V$,null,o),y.createElement(U$,{style:{fontFamily:e,fontSize:o,fontWeight:r,lineHeight:1.2}},n||"Was he a beast if music could move him so?"))));F.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText}));F.div(({theme:e})=>({color:e.base==="light"?oe(.2,e.color.defaultText):oe(.6,e.color.defaultText)}));F.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5});F.div(({theme:e})=>({flex:1,textAlign:"center",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,lineHeight:1,overflow:"hidden",color:e.base==="light"?oe(.4,e.color.defaultText):oe(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}}));F.div({display:"flex",flexDirection:"row"});F.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}}));F.div(({theme:e})=>({...hu(e),display:"flex",flexDirection:"row",height:50,marginBottom:5,overflow:"hidden",backgroundColor:"white",backgroundImage:"repeating-linear-gradient(-45deg, #ccc, #ccc 1px, #fff 1px, #fff 16px)",backgroundClip:"padding-box"}));F.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30});F.div({flex:1,display:"flex",flexDirection:"row"});F.div({display:"flex",alignItems:"flex-start"});F.div({flex:"0 0 30%"});F.div({flex:1});F.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?oe(.4,e.color.defaultText):oe(.6,e.color.defaultText)}));F.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));var G$=F.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2})),Y$=F.div(({theme:e})=>({...hu(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}})),K$=F.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"}),Z$=F.div({display:"flex",flexFlow:"row wrap"}),qV=({name:e,children:t})=>y.createElement(K$,null,y.createElement(Y$,null,t),y.createElement(G$,null,e)),WV=({children:e,...t})=>y.createElement(Hf,null,y.createElement(Z$,{...t,className:"docblock-icongallery sb-unstyled"},e)),J$=e=>`anchor--${e}`,xx=({storyId:e,children:t})=>y.createElement("div",{id:J$(e),className:"sb-anchor"},t);globalThis&&globalThis.__DOCS_CONTEXT__===void 0&&(globalThis.__DOCS_CONTEXT__=l.createContext(null),globalThis.__DOCS_CONTEXT__.displayName="DocsContext");var Et=globalThis?globalThis.__DOCS_CONTEXT__:l.createContext(null),kn=(e,t)=>l.useContext(Et).resolveOf(e,t),X$=e=>e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(""),Q$=e=>{if(e)return typeof e=="string"?e.includes("-")?X$(e):e:e.__docgenInfo&&e.__docgenInfo.displayName?e.__docgenInfo.displayName:e.name};function eN(e,t="start"){e.scrollIntoView({behavior:"smooth",block:t,inline:"nearest"})}var tN=Object.create,Dx=Object.defineProperty,rN=Object.getOwnPropertyDescriptor,Cx=Object.getOwnPropertyNames,nN=Object.getPrototypeOf,aN=Object.prototype.hasOwnProperty,et=(e,t)=>function(){return t||(0,e[Cx(e)[0]])((t={exports:{}}).exports,t),t.exports},oN=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Cx(t))!aN.call(e,a)&&a!==r&&Dx(e,a,{get:()=>t[a],enumerable:!(n=rN(t,a))||n.enumerable});return e},ah=(e,t,r)=>(r=e!=null?tN(nN(e)):{},oN(!e||!e.__esModule?Dx(r,"default",{value:e,enumerable:!0}):r,e)),iN=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],lN=["detail"];function sN(e){let t=iN.filter(r=>e[r]!==void 0).reduce((r,n)=>({...r,[n]:e[n]}),{});return e instanceof CustomEvent&&lN.filter(r=>e[r]!==void 0).forEach(r=>{t[r]=e[r]}),t}var uN=Y1(T9(),1),Sx=et({"node_modules/has-symbols/shams.js"(e,t){t.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},n=Symbol("test"),a=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(a)!=="[object Symbol]")return!1;var o=42;r[n]=o;for(n in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var i=Object.getOwnPropertySymbols(r);if(i.length!==1||i[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(r,n);if(s.value!==o||s.enumerable!==!0)return!1}return!0}}}),kx=et({"node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=Sx();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}}}),cN=et({"node_modules/function-bind/implementation.js"(e,t){var r="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,a=Object.prototype.toString,o="[object Function]";t.exports=function(i){var s=this;if(typeof s!="function"||a.call(s)!==o)throw new TypeError(r+s);for(var c=n.call(arguments,1),d,p=function(){if(this instanceof d){var g=s.apply(this,c.concat(n.call(arguments)));return Object(g)===g?g:this}else return s.apply(i,c.concat(n.call(arguments)))},m=Math.max(0,s.length-c.length),h=[],f=0;f "u"?r:m(Uint8Array),v={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":p?m([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":a,"%GeneratorFunction%":h,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":p?m(m([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!p?r:m(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!p?r:m(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":p?m(""[Symbol.iterator]()):r,"%Symbol%":p?Symbol:r,"%SyntaxError%":n,"%ThrowTypeError%":d,"%TypedArray%":f,"%TypeError%":o,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet},g=function z(L){var M;if(L==="%AsyncFunction%")M=i("async function () {}");else if(L==="%GeneratorFunction%")M=i("function* () {}");else if(L==="%AsyncGeneratorFunction%")M=i("async function* () {}");else if(L==="%AsyncGenerator%"){var O=z("%AsyncGeneratorFunction%");O&&(M=O.prototype)}else if(L==="%AsyncIteratorPrototype%"){var P=z("%AsyncGenerator%");P&&(M=m(P.prototype))}return v[L]=M,M},w={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},x=oh(),D=dN(),E=x.call(Function.call,Array.prototype.concat),b=x.call(Function.apply,Array.prototype.splice),C=x.call(Function.call,String.prototype.replace),S=x.call(Function.call,String.prototype.slice),k=x.call(Function.call,RegExp.prototype.exec),A=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,_=/\\(\\)?/g,I=function(z){var L=S(z,0,1),M=S(z,-1);if(L==="%"&&M!=="%")throw new n("invalid intrinsic syntax, expected closing `%`");if(M==="%"&&L!=="%")throw new n("invalid intrinsic syntax, expected opening `%`");var O=[];return C(z,A,function(P,H,U,V){O[O.length]=U?C(V,_,"$1"):H||P}),O},B=function(z,L){var M=z,O;if(D(w,M)&&(O=w[M],M="%"+O[0]+"%"),D(v,M)){var P=v[M];if(P===h&&(P=g(M)),typeof P>"u"&&!L)throw new o("intrinsic "+z+" exists, but is not available. Please file an issue!");return{alias:O,name:M,value:P}}throw new n("intrinsic "+z+" does not exist!")};t.exports=function(z,L){if(typeof z!="string"||z.length===0)throw new o("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof L!="boolean")throw new o('"allowMissing" argument must be a boolean');if(k(/^%?[^%]*%?$/,z)===null)throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var M=I(z),O=M.length>0?M[0]:"",P=B("%"+O+"%",L),H=P.name,U=P.value,V=!1,G=P.alias;G&&(O=G[0],b(M,E([0,1],G)));for(var Q=1,ne=!0;Q =M.length){var K=s(U,Z);ne=!!K,ne&&"get"in K&&!("originalValue"in K.get)?U=K.get:U=U[Z]}else ne=D(U,Z),U=U[Z];ne&&!V&&(v[H]=U)}}return U}}}),pN=et({"node_modules/call-bind/index.js"(e,t){var r=oh(),n=Ax(),a=n("%Function.prototype.apply%"),o=n("%Function.prototype.call%"),i=n("%Reflect.apply%",!0)||r.call(o,a),s=n("%Object.getOwnPropertyDescriptor%",!0),c=n("%Object.defineProperty%",!0),d=n("%Math.max%");if(c)try{c({},"a",{value:1})}catch{c=null}t.exports=function(m){var h=i(r,o,arguments);if(s&&c){var f=s(h,"length");f.configurable&&c(h,"length",{value:1+d(0,m.length-(arguments.length-1))})}return h};var p=function(){return i(r,a,arguments)};c?c(t.exports,"apply",{value:p}):t.exports.apply=p}}),fN=et({"node_modules/call-bind/callBound.js"(e,t){var r=Ax(),n=pN(),a=n(r("String.prototype.indexOf"));t.exports=function(o,i){var s=r(o,!!i);return typeof s=="function"&&a(o,".prototype.")>-1?n(s):s}}}),hN=et({"node_modules/has-tostringtag/shams.js"(e,t){var r=Sx();t.exports=function(){return r()&&!!Symbol.toStringTag}}}),mN=et({"node_modules/is-regex/index.js"(e,t){var r=fN(),n=hN()(),a,o,i,s;n&&(a=r("Object.prototype.hasOwnProperty"),o=r("RegExp.prototype.exec"),i={},c=function(){throw i},s={toString:c,valueOf:c},typeof Symbol.toPrimitive=="symbol"&&(s[Symbol.toPrimitive]=c));var c,d=r("Object.prototype.toString"),p=Object.getOwnPropertyDescriptor,m="[object RegExp]";t.exports=n?function(h){if(!h||typeof h!="object")return!1;var f=p(h,"lastIndex"),v=f&&a(f,"value");if(!v)return!1;try{o(h,s)}catch(g){return g===i}}:function(h){return!h||typeof h!="object"&&typeof h!="function"?!1:d(h)===m}}}),gN=et({"node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(a){if(!a)return!1;var o=r.call(a);return o==="[object Function]"||typeof a=="function"&&o!=="[object RegExp]"||typeof window<"u"&&(a===window.setTimeout||a===window.alert||a===window.confirm||a===window.prompt)}}}),vN=et({"node_modules/is-symbol/index.js"(e,t){var r=Object.prototype.toString,n=kx()();n?(a=Symbol.prototype.toString,o=/^Symbol\(.*\)$/,i=function(s){return typeof s.valueOf()!="symbol"?!1:o.test(a.call(s))},t.exports=function(s){if(typeof s=="symbol")return!0;if(r.call(s)!=="[object Symbol]")return!1;try{return i(s)}catch{return!1}}):t.exports=function(s){return!1};var a,o,i}}),yN=ah(mN()),bN=ah(gN()),wN=ah(vN());function EN(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}var xN=typeof global=="object"&&global&&global.Object===Object&&global,DN=xN,CN=typeof self=="object"&&self&&self.Object===Object&&self,SN=DN||CN||Function("return this")(),ih=SN,kN=ih.Symbol,Sa=kN,Fx=Object.prototype,AN=Fx.hasOwnProperty,FN=Fx.toString,ao=Sa?Sa.toStringTag:void 0;function _N(e){var t=AN.call(e,ao),r=e[ao];try{e[ao]=void 0;var n=!0}catch{}var a=FN.call(e);return n&&(t?e[ao]=r:delete e[ao]),a}var RN=_N,IN=Object.prototype,BN=IN.toString;function TN(e){return BN.call(e)}var zN=TN,LN="[object Null]",ON="[object Undefined]",j4=Sa?Sa.toStringTag:void 0;function MN(e){return e==null?e===void 0?ON:LN:j4&&j4 in Object(e)?RN(e):zN(e)}var PN=MN,V4=Sa?Sa.prototype:void 0;V4&&V4.toString;function $N(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var _x=$N,NN="[object AsyncFunction]",HN="[object Function]",jN="[object GeneratorFunction]",VN="[object Proxy]";function UN(e){if(!_x(e))return!1;var t=PN(e);return t==HN||t==jN||t==NN||t==VN}var qN=UN,WN=ih["__core-js_shared__"],J0=WN,U4=function(){var e=/[^.]+$/.exec(J0&&J0.keys&&J0.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function GN(e){return!!U4&&U4 in e}var YN=GN,KN=Function.prototype,ZN=KN.toString;function JN(e){if(e!=null){try{return ZN.call(e)}catch{}try{return e+""}catch{}}return""}var XN=JN,QN=/[\\^$.*+?()[\]{}|]/g,eH=/^\[object .+?Constructor\]$/,tH=Function.prototype,rH=Object.prototype,nH=tH.toString,aH=rH.hasOwnProperty,oH=RegExp("^"+nH.call(aH).replace(QN,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function iH(e){if(!_x(e)||YN(e))return!1;var t=qN(e)?oH:eH;return t.test(XN(e))}var lH=iH;function sH(e,t){return e==null?void 0:e[t]}var uH=sH;function cH(e,t){var r=uH(e,t);return lH(r)?r:void 0}var Rx=cH;function dH(e,t){return e===t||e!==e&&t!==t}var pH=dH,fH=Rx(Object,"create"),Yo=fH;function hH(){this.__data__=Yo?Yo(null):{},this.size=0}var mH=hH;function gH(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var vH=gH,yH="__lodash_hash_undefined__",bH=Object.prototype,wH=bH.hasOwnProperty;function EH(e){var t=this.__data__;if(Yo){var r=t[e];return r===yH?void 0:r}return wH.call(t,e)?t[e]:void 0}var xH=EH,DH=Object.prototype,CH=DH.hasOwnProperty;function SH(e){var t=this.__data__;return Yo?t[e]!==void 0:CH.call(t,e)}var kH=SH,AH="__lodash_hash_undefined__";function FH(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Yo&&t===void 0?AH:t,this}var _H=FH;function La(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t -1}var NH=$H;function HH(e,t){var r=this.__data__,n=vu(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var jH=HH;function Oa(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t {let t=null,r=!1,n=!1,a=!1,o="";if(e.indexOf("//")>=0||e.indexOf("/*")>=0)for(let i=0;i ({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),qP=F.div({display:"flex",alignItems:"center",width:"100%"});function WP(e){let t=e.toString().match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}var GP=({name:e,value:t,onChange:r,min:n=0,max:a=100,step:o=1,onBlur:i,onFocus:s,argType:c})=>{var f;let d=v=>{r(nP(v.target.value))},p=t!==void 0,m=l.useMemo(()=>WP(o),[o]),h=!!((f=c==null?void 0:c.table)!=null&&f.readonly);return y.createElement(qP,{"aria-readonly":h},y.createElement(wx,null,n),y.createElement(VP,{id:vt(e),type:"range",disabled:h,onChange:d,name:e,value:t,min:n,max:a,step:o,onFocus:s,onBlur:i}),y.createElement(UP,{numberOFDecimalsPlaces:m,max:a},p?t.toFixed(m):"--"," / ",a))},YP=F.label({display:"flex"}),KP=F.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),ZP=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,maxLength:o,argType:i})=>{var f;let s=v=>{r(v.target.value)},c=!!((f=i==null?void 0:i.table)!=null&&f.readonly),[d,p]=l.useState(!1),m=l.useCallback(()=>{r(""),p(!0)},[p]);if(t===void 0)return y.createElement(Sn,{variant:"outline",size:"medium",disabled:c,id:hs(e),onClick:m},"Set string");let h=typeof t=="string";return y.createElement(YP,null,y.createElement(yi.Textarea,{id:vt(e),maxLength:o,onChange:s,disabled:c,size:"flex",placeholder:"Edit string...",autoFocus:d,valid:h?null:"error",name:e,value:h?t:"",onFocus:n,onBlur:a}),o&&y.createElement(KP,{isMaxed:(t==null?void 0:t.length)===o},(t==null?void 0:t.length)??0," / ",o))},JP=F(yi.Input)({padding:10});function XP(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var QP=({onChange:e,name:t,accept:r="image/*",value:n,argType:a})=>{var c;let o=l.useRef(null),i=(c=a==null?void 0:a.control)==null?void 0:c.readOnly;function s(d){if(!d.target.files)return;let p=Array.from(d.target.files).map(m=>URL.createObjectURL(m));e(p),XP(n)}return l.useEffect(()=>{n==null&&o.current&&(o.current.value=null)},[n,t]),y.createElement(JP,{ref:o,id:vt(t),type:"file",name:t,multiple:!0,disabled:i,onChange:s,accept:r,size:"flex"})},e$=l.lazy(()=>G4(()=>import("./Color-F6OSRLHC-3DCSJPdi.js"),__vite__mapDeps([9,2,3,1,4,5,6,7,8]),import.meta.url)),t$=e=>y.createElement(l.Suspense,{fallback:y.createElement("div",null)},y.createElement(e$,{...e})),r$={array:M4,object:M4,boolean:KM,color:t$,date:tP,number:oP,check:Pn,"inline-check":Pn,radio:Pn,"inline-radio":Pn,select:Pn,"multi-select":Pn,range:GP,text:ZP,file:QP},P4=()=>y.createElement(y.Fragment,null,"-"),n$=({row:e,arg:t,updateArgs:r,isHovered:n})=>{var g;let{key:a,control:o}=e,[i,s]=l.useState(!1),[c,d]=l.useState({value:t});l.useEffect(()=>{i||d({value:t})},[i,t]);let p=l.useCallback(w=>(d({value:w}),r({[a]:w}),w),[r,a]),m=l.useCallback(()=>s(!1),[]),h=l.useCallback(()=>s(!0),[]);if(!o||o.disable){let w=(o==null?void 0:o.disable)!==!0&&((g=e==null?void 0:e.type)==null?void 0:g.name)!=="function";return n&&w?y.createElement(oa,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):y.createElement(P4,null)}let f={name:a,argType:e,value:c.value,onChange:p,onBlur:m,onFocus:h},v=r$[o.type]||P4;return y.createElement(v,{...f,...o,controlType:o.type})},a$=F.table(({theme:e})=>({"&&":{borderCollapse:"collapse",borderSpacing:0,border:"none",tr:{border:"none !important",background:"none"},"td, th":{padding:0,border:"none",width:"auto!important"},marginTop:0,marginBottom:0,"th:first-of-type, td:first-of-type":{paddingLeft:0},"th:last-of-type, td:last-of-type":{paddingRight:0},td:{paddingTop:0,paddingBottom:4,"&:not(:first-of-type)":{paddingLeft:10,paddingRight:0}},tbody:{boxShadow:"none",border:"none"},code:Lr({theme:e}),div:{span:{fontWeight:"bold"}},"& code":{margin:0,display:"inline-block",fontSize:e.typography.size.s1}}})),o$=({tags:e})=>{let t=(e.params||[]).filter(o=>o.description),r=t.length!==0,n=e.deprecated!=null,a=e.returns!=null&&e.returns.description!=null;return!r&&!a&&!n?null:y.createElement(y.Fragment,null,y.createElement(a$,null,y.createElement("tbody",null,n&&y.createElement("tr",{key:"deprecated"},y.createElement("td",{colSpan:2},y.createElement("strong",null,"Deprecated"),": ",e.deprecated.toString())),r&&t.map(o=>y.createElement("tr",{key:o.name},y.createElement("td",null,y.createElement("code",null,o.name)),y.createElement("td",null,o.description))),a&&y.createElement("tr",{key:"returns"},y.createElement("td",null,y.createElement("code",null,"Returns")),y.createElement("td",null,e.returns.description)))))},i$=Y1(T9()),U1=8,$4=F.div(({isExpanded:e})=>({display:"flex",flexDirection:e?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100})),l$=F.span(Lr,({theme:e,simple:t=!1})=>({flex:"0 0 auto",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,wordBreak:"break-word",whiteSpace:"normal",maxWidth:"100%",margin:0,marginRight:"4px",marginBottom:"4px",paddingTop:"2px",paddingBottom:"2px",lineHeight:"13px",...t&&{background:"transparent",border:"0 none",paddingLeft:0}})),s$=F.button(({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,marginBottom:"4px",background:"none",border:"none"})),u$=F.div(Lr,({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,fontSize:e.typography.size.s1,margin:0,whiteSpace:"nowrap",display:"flex",alignItems:"center"})),c$=F.div(({theme:e,width:t})=>({width:t,minWidth:200,maxWidth:800,padding:15,fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,boxSizing:"content-box","& code":{padding:"0 !important"}})),d$=F(SL)({marginLeft:4}),p$=F(B9)({marginLeft:4}),f$=()=>y.createElement("span",null,"-"),Ex=({text:e,simple:t})=>y.createElement(l$,{simple:t},e),h$=(0,i$.default)(1e3)(e=>{let t=e.split(/\r?\n/);return`${Math.max(...t.map(r=>r.length))}ch`}),m$=e=>{if(!e)return[e];let t=e.split("|").map(r=>r.trim());return Zx(t)},N4=(e,t=!0)=>{let r=e;return t||(r=e.slice(0,U1)),r.map(n=>y.createElement(Ex,{key:n,text:n===""?'""':n}))},g$=({value:e,initialExpandedArgs:t})=>{let{summary:r,detail:n}=e,[a,o]=l.useState(!1),[i,s]=l.useState(t||!1);if(r==null)return null;let c=typeof r.toString=="function"?r.toString():r;if(n==null){if(/[(){}[\]<>]/.test(c))return y.createElement(Ex,{text:c});let d=m$(c),p=d.length;return p>U1?y.createElement($4,{isExpanded:i},N4(d,i),y.createElement(s$,{onClick:()=>s(!i)},i?"Show less...":`Show ${p-U1} more...`)):y.createElement($4,null,N4(d))}return y.createElement(fz,{closeOnOutsideClick:!0,placement:"bottom",visible:a,onVisibleChange:d=>{o(d)},tooltip:y.createElement(c$,{width:h$(n)},y.createElement(jf,{language:"jsx",format:!1},n))},y.createElement(u$,{className:"sbdocs-expandable"},y.createElement("span",null,c),a?y.createElement(d$,null):y.createElement(p$,null)))},K0=({value:e,initialExpandedArgs:t})=>e==null?y.createElement(f$,null):y.createElement(g$,{value:e,initialExpandedArgs:t}),v$=F.span({fontWeight:"bold"}),y$=F.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),b$=F.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...Lr({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),w$=F.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?oe(.1,e.color.defaultText):oe(.2,e.color.defaultText),marginTop:t?4:0})),E$=F.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?oe(.1,e.color.defaultText):oe(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),x$=F.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),D$=e=>e&&{summary:typeof e=="string"?e:e.name},Xi=e=>{var g;let[t,r]=l.useState(!1),{row:n,updateArgs:a,compact:o,expandable:i,initialExpandedArgs:s}=e,{name:c,description:d}=n,p=n.table||{},m=p.type||D$(n.type),h=p.defaultValue||n.defaultValue,f=(g=n.type)==null?void 0:g.required,v=d!=null&&d!=="";return y.createElement("tr",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},y.createElement(x$,{expandable:i},y.createElement(v$,null,c),f?y.createElement(y$,{title:"Required"},"*"):null),o?null:y.createElement("td",null,v&&y.createElement(b$,null,y.createElement(sx,null,d)),p.jsDocTags!=null?y.createElement(y.Fragment,null,y.createElement(E$,{hasDescription:v},y.createElement(K0,{value:m,initialExpandedArgs:s})),y.createElement(o$,{tags:p.jsDocTags})):y.createElement(w$,{hasDescription:v},y.createElement(K0,{value:m,initialExpandedArgs:s}))),o?null:y.createElement("td",null,y.createElement(K0,{value:h,initialExpandedArgs:s})),a?y.createElement("td",null,y.createElement(n$,{...e,isHovered:t})):null)},C$=F.div(({inAddonPanel:e,theme:t})=>({height:e?"100%":"auto",display:"flex",border:e?"none":`1px solid ${t.appBorderColor}`,borderRadius:e?0:t.appBorderRadius,padding:e?0:40,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:t.background.content,boxShadow:"rgba(0, 0, 0, 0.10) 0 1px 3px 0"})),S$=F.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),k$=F.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),A$=({inAddonPanel:e})=>{let[t,r]=l.useState(!0);return l.useEffect(()=>{let n=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(n)},[]),t?null:y.createElement(C$,{inAddonPanel:e},y.createElement(S9,{title:e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated",description:y.createElement(y.Fragment,null,"Controls give you an easy to use interface to test your components. Set your story args and you'll see controls appearing here automatically."),footer:y.createElement(S$,null,e&&y.createElement(y.Fragment,null,y.createElement(oa,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},y.createElement(bL,null)," Watch 5m video"),y.createElement(k$,null),y.createElement(oa,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},y.createElement(z1,null)," Read docs")),!e&&y.createElement(oa,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},y.createElement(z1,null)," Learn how to set that up"))}))},F$=F(DL)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?oe(.25,e.color.defaultText):oe(.3,e.color.defaultText),border:"none",display:"inline-block"})),_$=F(CL)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?oe(.25,e.color.defaultText):oe(.3,e.color.defaultText),border:"none",display:"inline-block"})),R$=F.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),I$=F.td(({theme:e})=>({position:"relative",letterSpacing:"0.35em",textTransform:"uppercase",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s1-1,color:e.base==="light"?oe(.4,e.color.defaultText):oe(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),B$=F.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),T$=F.td(()=>({position:"relative"})),z$=F.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${Kr(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),H4=F.button(()=>({background:"none",border:"none",padding:"0",font:"inherit",position:"absolute",top:0,bottom:0,left:0,right:0,height:"100%",width:"100%",color:"transparent",cursor:"row-resize !important"})),Z0=({level:e="section",label:t,children:r,initialExpanded:n=!0,colSpan:a=3})=>{let[o,i]=l.useState(n),s=e==="subsection"?B$:I$,c=(r==null?void 0:r.length)||0,d=e==="subsection"?`${c} item${c!==1?"s":""}`:"",p=`${o?"Hide":"Show"} ${e==="subsection"?c:t} item${c!==1?"s":""}`;return y.createElement(y.Fragment,null,y.createElement(z$,{title:p},y.createElement(s,{colSpan:1},y.createElement(H4,{onClick:m=>i(!o),tabIndex:0},p),y.createElement(R$,null,o?y.createElement(F$,null):y.createElement(_$,null),t)),y.createElement(T$,{colSpan:a-1},y.createElement(H4,{onClick:m=>i(!o),tabIndex:-1,style:{outline:"none"}},p),o?null:d)),o?r:null)},Qi=F.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),Ae=F.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),me=F.div(({theme:e,width:t,height:r})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,width:t||"100%",height:r||16,borderRadius:3})),Fe=[2,4,2,2],L$=()=>y.createElement(y.Fragment,null,y.createElement(Qi,null,y.createElement(Ae,{numColumn:Fe[0]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[1]},y.createElement(me,{width:"30%"})),y.createElement(Ae,{numColumn:Fe[2]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[3]},y.createElement(me,{width:"60%"}))),y.createElement(Qi,null,y.createElement(Ae,{numColumn:Fe[0]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[1]},y.createElement(me,{width:"80%"}),y.createElement(me,{width:"30%"})),y.createElement(Ae,{numColumn:Fe[2]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[3]},y.createElement(me,{width:"60%"}))),y.createElement(Qi,null,y.createElement(Ae,{numColumn:Fe[0]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[1]},y.createElement(me,{width:"80%"}),y.createElement(me,{width:"30%"})),y.createElement(Ae,{numColumn:Fe[2]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[3]},y.createElement(me,{width:"60%"}))),y.createElement(Qi,null,y.createElement(Ae,{numColumn:Fe[0]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[1]},y.createElement(me,{width:"80%"}),y.createElement(me,{width:"30%"})),y.createElement(Ae,{numColumn:Fe[2]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[3]},y.createElement(me,{width:"60%"})))),O$=F.table(({theme:e,compact:t,inAddonPanel:r})=>({"&&":{borderSpacing:0,color:e.color.defaultText,"td, th":{padding:0,border:"none",verticalAlign:"top",textOverflow:"ellipsis"},fontSize:e.typography.size.s2-1,lineHeight:"20px",textAlign:"left",width:"100%",marginTop:r?0:25,marginBottom:r?0:40,"thead th:first-of-type, td:first-of-type":{width:"25%"},"th:first-of-type, td:first-of-type":{paddingLeft:20},"th:nth-of-type(2), td:nth-of-type(2)":{...t?null:{width:"35%"}},"td:nth-of-type(3)":{...t?null:{width:"15%"}},"th:last-of-type, td:last-of-type":{paddingRight:20,...t?null:{width:"25%"}},th:{color:e.base==="light"?oe(.25,e.color.defaultText):oe(.45,e.color.defaultText),paddingTop:10,paddingBottom:10,paddingLeft:15,paddingRight:15},td:{paddingTop:"10px",paddingBottom:"10px","&:not(:first-of-type)":{paddingLeft:15,paddingRight:15},"&:last-of-type":{paddingRight:20}},marginLeft:r?0:1,marginRight:r?0:1,tbody:{...r?null:{filter:e.base==="light"?"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.10))":"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.20))"},"> tr > *":{background:e.background.content,borderTop:`1px solid ${e.appBorderColor}`},...r?null:{"> tr:first-of-type > *":{borderBlockStart:`1px solid ${e.appBorderColor}`},"> tr:last-of-type > *":{borderBlockEnd:`1px solid ${e.appBorderColor}`},"> tr > *:first-of-type":{borderInlineStart:`1px solid ${e.appBorderColor}`},"> tr > *:last-of-type":{borderInlineEnd:`1px solid ${e.appBorderColor}`},"> tr:first-of-type > td:first-of-type":{borderTopLeftRadius:e.appBorderRadius},"> tr:first-of-type > td:last-of-type":{borderTopRightRadius:e.appBorderRadius},"> tr:last-of-type > td:first-of-type":{borderBottomLeftRadius:e.appBorderRadius},"> tr:last-of-type > td:last-of-type":{borderBottomRightRadius:e.appBorderRadius}}}}})),M$=F(sn)(({theme:e})=>({margin:"-4px -12px -4px 0"})),P$=F.span({display:"flex",justifyContent:"space-between"}),$$={alpha:(e,t)=>e.name.localeCompare(t.name),requiredFirst:(e,t)=>{var r,n;return+!!((r=t.type)!=null&&r.required)-+!!((n=e.type)!=null&&n.required)||e.name.localeCompare(t.name)},none:void 0},N$=(e,t)=>{let r={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return r;Object.entries(e).forEach(([o,i])=>{let{category:s,subcategory:c}=(i==null?void 0:i.table)||{};if(s){let d=r.sections[s]||{ungrouped:[],subsections:{}};if(!c)d.ungrouped.push({key:o,...i});else{let p=d.subsections[c]||[];p.push({key:o,...i}),d.subsections[c]=p}r.sections[s]=d}else if(c){let d=r.ungroupedSubsections[c]||[];d.push({key:o,...i}),r.ungroupedSubsections[c]=d}else r.ungrouped.push({key:o,...i})});let n=$$[t],a=o=>n?Object.keys(o).reduce((i,s)=>({...i,[s]:o[s].sort(n)}),{}):o;return{ungrouped:r.ungrouped.sort(n),ungroupedSubsections:a(r.ungroupedSubsections),sections:Object.keys(r.sections).reduce((o,i)=>({...o,[i]:{ungrouped:r.sections[i].ungrouped.sort(n),subsections:a(r.sections[i].subsections)}}),{})}},H$=(e,t,r)=>{try{return jx(e,t,r)}catch(n){return FL.warn(n.message),!1}},q1=e=>{let{updateArgs:t,resetArgs:r,compact:n,inAddonPanel:a,initialExpandedArgs:o,sort:i="none",isLoading:s}=e;if("error"in e){let{error:D}=e;return y.createElement(P9,null,D," ",y.createElement(oa,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},y.createElement(z1,null)," Read the docs"))}if(s)return y.createElement(L$,null);let{rows:c,args:d,globals:p}="rows"in e&&e,m=N$(Jx(c||{},D=>{var E;return!((E=D==null?void 0:D.table)!=null&&E.disable)&&H$(D,d||{},p||{})}),i),h=m.ungrouped.length===0,f=Object.entries(m.sections).length===0,v=Object.entries(m.ungroupedSubsections).length===0;if(h&&f&&v)return y.createElement(A$,{inAddonPanel:a});let g=1;t&&(g+=1),n||(g+=2);let w=Object.keys(m.sections).length>0,x={updateArgs:t,compact:n,inAddonPanel:a,initialExpandedArgs:o};return y.createElement(Hf,null,y.createElement(O$,{compact:n,inAddonPanel:a,className:"docblock-argstable sb-unstyled"},y.createElement("thead",{className:"docblock-argstable-head"},y.createElement("tr",null,y.createElement("th",null,y.createElement("span",null,"Name")),n?null:y.createElement("th",null,y.createElement("span",null,"Description")),n?null:y.createElement("th",null,y.createElement("span",null,"Default")),t?y.createElement("th",null,y.createElement(P$,null,"Control"," ",!s&&r&&y.createElement(M$,{onClick:()=>r(),title:"Reset controls"},y.createElement(kL,{"aria-hidden":!0})))):null)),y.createElement("tbody",{className:"docblock-argstable-body"},m.ungrouped.map(D=>y.createElement(Xi,{key:D.key,row:D,arg:d&&d[D.key],...x})),Object.entries(m.ungroupedSubsections).map(([D,E])=>y.createElement(Z0,{key:D,label:D,level:"subsection",colSpan:g},E.map(b=>y.createElement(Xi,{key:b.key,row:b,arg:d&&d[b.key],expandable:w,...x})))),Object.entries(m.sections).map(([D,E])=>y.createElement(Z0,{key:D,label:D,level:"section",colSpan:g},E.ungrouped.map(b=>y.createElement(Xi,{key:b.key,row:b,arg:d&&d[b.key],...x})),Object.entries(E.subsections).map(([b,C])=>y.createElement(Z0,{key:b,label:b,level:"subsection",colSpan:g},C.map(S=>y.createElement(Xi,{key:S.key,row:S,arg:d&&d[S.key],expandable:w,...x})))))))))},j$=({tabs:e,...t})=>{let r=Object.entries(e);return r.length===1?y.createElement(q1,{...r[0][1],...t}):y.createElement(Kz,null,r.map((n,a)=>{let[o,i]=n,s=`prop_table_div_${o}`,c="div",d=a===0?t:{sort:t.sort};return y.createElement(c,{key:s,id:s,title:o},({active:p})=>p?y.createElement(q1,{key:`prop_table_${o}`,...i,...d}):null)}))},V$=F.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?oe(.4,e.color.defaultText):oe(.6,e.color.defaultText)})),U$=F.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}),q$=F.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}}),W$=F.div(se,({theme:e})=>({...hu(e),margin:"25px 0 40px",padding:"30px 20px"})),VV=({fontFamily:e,fontSizes:t,fontWeight:r,sampleText:n,...a})=>y.createElement(W$,{...a,className:"docblock-typeset sb-unstyled"},t.map(o=>y.createElement(q$,{key:o},y.createElement(V$,null,o),y.createElement(U$,{style:{fontFamily:e,fontSize:o,fontWeight:r,lineHeight:1.2}},n||"Was he a beast if music could move him so?"))));F.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText}));F.div(({theme:e})=>({color:e.base==="light"?oe(.2,e.color.defaultText):oe(.6,e.color.defaultText)}));F.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5});F.div(({theme:e})=>({flex:1,textAlign:"center",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,lineHeight:1,overflow:"hidden",color:e.base==="light"?oe(.4,e.color.defaultText):oe(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}}));F.div({display:"flex",flexDirection:"row"});F.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}}));F.div(({theme:e})=>({...hu(e),display:"flex",flexDirection:"row",height:50,marginBottom:5,overflow:"hidden",backgroundColor:"white",backgroundImage:"repeating-linear-gradient(-45deg, #ccc, #ccc 1px, #fff 1px, #fff 16px)",backgroundClip:"padding-box"}));F.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30});F.div({flex:1,display:"flex",flexDirection:"row"});F.div({display:"flex",alignItems:"flex-start"});F.div({flex:"0 0 30%"});F.div({flex:1});F.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?oe(.4,e.color.defaultText):oe(.6,e.color.defaultText)}));F.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));var G$=F.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2})),Y$=F.div(({theme:e})=>({...hu(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}})),K$=F.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"}),Z$=F.div({display:"flex",flexFlow:"row wrap"}),UV=({name:e,children:t})=>y.createElement(K$,null,y.createElement(Y$,null,t),y.createElement(G$,null,e)),qV=({children:e,...t})=>y.createElement(Hf,null,y.createElement(Z$,{...t,className:"docblock-icongallery sb-unstyled"},e)),J$=e=>`anchor--${e}`,xx=({storyId:e,children:t})=>y.createElement("div",{id:J$(e),className:"sb-anchor"},t);globalThis&&globalThis.__DOCS_CONTEXT__===void 0&&(globalThis.__DOCS_CONTEXT__=l.createContext(null),globalThis.__DOCS_CONTEXT__.displayName="DocsContext");var Et=globalThis?globalThis.__DOCS_CONTEXT__:l.createContext(null),kn=(e,t)=>l.useContext(Et).resolveOf(e,t),X$=e=>e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(""),Q$=e=>{if(e)return typeof e=="string"?e.includes("-")?X$(e):e:e.__docgenInfo&&e.__docgenInfo.displayName?e.__docgenInfo.displayName:e.name};function eN(e,t="start"){e.scrollIntoView({behavior:"smooth",block:t,inline:"nearest"})}var tN=Object.create,Dx=Object.defineProperty,rN=Object.getOwnPropertyDescriptor,Cx=Object.getOwnPropertyNames,nN=Object.getPrototypeOf,aN=Object.prototype.hasOwnProperty,et=(e,t)=>function(){return t||(0,e[Cx(e)[0]])((t={exports:{}}).exports,t),t.exports},oN=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Cx(t))!aN.call(e,a)&&a!==r&&Dx(e,a,{get:()=>t[a],enumerable:!(n=rN(t,a))||n.enumerable});return e},ah=(e,t,r)=>(r=e!=null?tN(nN(e)):{},oN(!e||!e.__esModule?Dx(r,"default",{value:e,enumerable:!0}):r,e)),iN=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],lN=["detail"];function sN(e){let t=iN.filter(r=>e[r]!==void 0).reduce((r,n)=>({...r,[n]:e[n]}),{});return e instanceof CustomEvent&&lN.filter(r=>e[r]!==void 0).forEach(r=>{t[r]=e[r]}),t}var uN=Y1(T9(),1),Sx=et({"node_modules/has-symbols/shams.js"(e,t){t.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},n=Symbol("test"),a=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(a)!=="[object Symbol]")return!1;var o=42;r[n]=o;for(n in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var i=Object.getOwnPropertySymbols(r);if(i.length!==1||i[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(r,n);if(s.value!==o||s.enumerable!==!0)return!1}return!0}}}),kx=et({"node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=Sx();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}}}),cN=et({"node_modules/function-bind/implementation.js"(e,t){var r="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,a=Object.prototype.toString,o="[object Function]";t.exports=function(i){var s=this;if(typeof s!="function"||a.call(s)!==o)throw new TypeError(r+s);for(var c=n.call(arguments,1),d,p=function(){if(this instanceof d){var g=s.apply(this,c.concat(n.call(arguments)));return Object(g)===g?g:this}else return s.apply(i,c.concat(n.call(arguments)))},m=Math.max(0,s.length-c.length),h=[],f=0;f